mirror of
https://github.com/RooVetGit/Roo-Code.git
synced 2026-08-28 05:27:24 +00:00
remove console logs
This commit is contained in:
parent
bb9a7460b4
commit
67c2f442cd
1 changed files with 0 additions and 5 deletions
|
|
@ -76,15 +76,10 @@ export class LiteLLMHandler extends RouterProvider implements SingleCompletionHa
|
|||
for await (const chunk of completion) {
|
||||
const delta = chunk.choices[0]?.delta
|
||||
|
||||
// Log all available fields in delta
|
||||
console.log("[LiteLLM] Delta fields:", Object.keys(delta || {}))
|
||||
console.log("[LiteLLM] Full delta:", JSON.stringify(delta, null, 2))
|
||||
|
||||
// Check for any field that might contain reasoning
|
||||
if (delta) {
|
||||
for (const [key, value] of Object.entries(delta)) {
|
||||
if (typeof value === "string" && value.length > 0 && key.includes("reason")) {
|
||||
console.log(`[LiteLLM] Found potential reasoning field '${key}':`, value)
|
||||
yield { type: "reasoning", text: value }
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue