Skip to content

Commit 77f840b

Browse files
gamer-mitsuhastainless-app[bot]
authored andcommitted
fix: update import in chat_completions_ext.ts to address TS compilation error
Particularly, this fixes the error in Issue #19 ``` node_modules/groq-sdk/lib/chat_completions_ext.d.ts:1:32 - error TS2307: Cannot find module 'groq-sdk/resources/chat' or its corresponding type declarations. 1 import { ChatCompletion } from 'groq-sdk/resources/chat'; ~~~~~~~~~~~~~~~~~~~~~~~~~ ```
1 parent 057c211 commit 77f840b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/lib/chat_completions_ext.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// Manually curated models for streaming chat completions.
2-
import { ChatCompletion } from 'groq-sdk/resources/chat'
2+
import { ChatCompletion } from 'groq-sdk/resources/chat/index'
33

44
export interface ChatCompletionChunk {
55
id: string;

0 commit comments

Comments
 (0)