mirror of
https://github.com/RooVetGit/Roo-Code.git
synced 2026-09-05 08:10:14 +00:00
fix(types/openai): correct GPT-5 Pro description typos/grammar; perf(core/task): avoid full-state refresh on each background status chunk to reduce re-renders
This commit is contained in:
parent
50242b4ee9
commit
9803d434a6
2 changed files with 2 additions and 5 deletions
|
|
@ -57,7 +57,7 @@ export const openAiNativeModels = {
|
|||
inputPrice: 15.0,
|
||||
outputPrice: 120.0,
|
||||
description:
|
||||
"GPT-5 Pro: A slow, reasoning-focused model for complex problems. Uses background mode with resilient streaming - requests may somte time and will automatically reconnect if they timeout.",
|
||||
"GPT-5 Pro: A slow, reasoning-focused model for complex problems. Uses background mode with resilient streaming — requests may take some time and will automatically reconnect if they time out.",
|
||||
supportsVerbosity: true,
|
||||
supportsTemperature: false,
|
||||
backgroundMode: true,
|
||||
|
|
|
|||
|
|
@ -2625,11 +2625,8 @@ export class Task extends EventEmitter<TaskEvents> implements TaskLike {
|
|||
if (chunk.responseId) {
|
||||
;(apiReqMsg as any).metadata.responseId = chunk.responseId
|
||||
}
|
||||
// Temporary debug to confirm UI metadata updates
|
||||
// Update the specific message; avoid full-state refresh on every status chunk to reduce re-renders
|
||||
await this.updateClineMessage(apiReqMsg)
|
||||
// Force state refresh to ensure UI recomputes derived labels/memos
|
||||
const provider = this.providerRef.deref()
|
||||
await provider?.postStateToWebview()
|
||||
}
|
||||
} catch {}
|
||||
break
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue