mirror of
https://github.com/RooVetGit/Roo-Code.git
synced 2026-08-28 05:27:24 +00:00
fix: resolve type issues in Task.ts
This commit is contained in:
parent
58593c94c1
commit
a8062124e8
1 changed files with 2 additions and 2 deletions
|
|
@ -2193,7 +2193,7 @@ export class Task extends EventEmitter<TaskEvents> implements TaskLike {
|
|||
const stream = this.attemptApiRequest()
|
||||
let assistantMessage = ""
|
||||
let reasoningMessage = ""
|
||||
const reasoningDetails = []
|
||||
const reasoningDetails: any[] = []
|
||||
let pendingGroundingSources: GroundingSource[] = []
|
||||
this.isStreaming = true
|
||||
|
||||
|
|
@ -2706,7 +2706,7 @@ export class Task extends EventEmitter<TaskEvents> implements TaskLike {
|
|||
return {
|
||||
...block,
|
||||
// reasoning_details only exists for cline/openrouter providers
|
||||
// @ts-ignore-next-line (reasoning_details is not a valid property for TextBlockParam)
|
||||
// @ts-ignore (reasoning_details is not a valid property for TextBlockParam)
|
||||
reasoning_details: reasoningDetails,
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue