We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8d2a100 commit 62b49a1Copy full SHA for 62b49a1
src/api/providers/chutes.ts
@@ -95,7 +95,8 @@ export class ChutesHandler extends BaseOpenAiCompatibleProvider<ChutesModelId> {
95
)
96
}
97
} else {
98
- // For non-DeepSeek models, track content and handle empty responses
+ // For non-DeepSeek models, we reimplement the stream handling instead of calling
99
+ // super.createMessage() to ensure consistent error handling for empty responses
100
const stream = await this.createStream(systemPrompt, messages)
101
102
for await (const chunk of stream) {
0 commit comments