mirror of
https://github.com/RooVetGit/Roo-Code.git
synced 2026-09-07 08:26:51 +00:00
docs: add comment explaining stream handling approach
This commit is contained in:
parent
8d2a100a63
commit
62b49a17ab
1 changed files with 2 additions and 1 deletions
|
|
@ -95,7 +95,8 @@ export class ChutesHandler extends BaseOpenAiCompatibleProvider<ChutesModelId> {
|
|||
)
|
||||
}
|
||||
} else {
|
||||
// For non-DeepSeek models, track content and handle empty responses
|
||||
// For non-DeepSeek models, we reimplement the stream handling instead of calling
|
||||
// super.createMessage() to ensure consistent error handling for empty responses
|
||||
const stream = await this.createStream(systemPrompt, messages)
|
||||
|
||||
for await (const chunk of stream) {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue