Skip to content

Commit d9453ba

Browse files
defining datatype instead of any
1 parent 4807b62 commit d9453ba

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/llm/llm-client.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -844,7 +844,7 @@ RESPOND ONLY WITH THE JSON OBJECT. NO OTHER TEXT.`;
844844
const errorData = await response.json().catch(() => ({}));
845845
throw new LLMApiError(
846846
response.status,
847-
`Groq model list error: ${response.status} - ${(errorData as any).error?.message || "Unknown error"}`
847+
`Groq model list error: ${response.status} - ${(errorData as { error?: { message?: string } }).error?.message || "Unknown error"}`
848848
);
849849
}
850850

0 commit comments

Comments
 (0)