Skip to content

Commit

Permalink
Update chat_completions_ext.ts to fix the error in #19
Browse files Browse the repository at this point in the history
Particularly, this fixes the error
```
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';
                                 ~~~~~~~~~~~~~~~~~~~~~~~~~
```
  • Loading branch information
gamer-mitsuha authored Apr 28, 2024
1 parent 057c211 commit bca27aa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib/chat_completions_ext.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// Manually curated models for streaming chat completions.
import { ChatCompletion } from 'groq-sdk/resources/chat'
import { ChatCompletion } from 'groq-sdk/resources/chat/index'

export interface ChatCompletionChunk {
id: string;
Expand Down

0 comments on commit bca27aa

Please sign in to comment.