Skip to content

Commit 667839e

Browse files
committed
fix(gamma): use typed output in check_status transformResponse
1 parent 7dd57e9 commit 667839e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

apps/sim/tools/gamma/check_status.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,10 +31,10 @@ export const checkStatusTool: ToolConfig<GammaCheckStatusParams, GammaCheckStatu
3131
}),
3232
},
3333

34-
transformResponse: async (response: Response) => {
34+
transformResponse: async (response: Response): Promise<GammaCheckStatusResponse> => {
3535
const data = await response.json()
3636

37-
const output: Record<string, unknown> = {
37+
const output: GammaCheckStatusResponse['output'] = {
3838
generationId: data.generationId ?? '',
3939
status: data.status ?? 'pending',
4040
gammaUrl: data.gammaUrl ?? null,

0 commit comments

Comments
 (0)