Skip to content

Commit 3a0add7

Browse files
committed
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
1 parent f8be63e commit 3a0add7

File tree

2 files changed

+2
-5
lines changed

2 files changed

+2
-5
lines changed

packages/types/src/providers/openai.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ export const openAiNativeModels = {
4747
inputPrice: 15.0,
4848
outputPrice: 120.0,
4949
description:
50-
"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.",
50+
"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.",
5151
supportsVerbosity: true,
5252
supportsTemperature: false,
5353
backgroundMode: true,

src/core/task/Task.ts

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2005,11 +2005,8 @@ export class Task extends EventEmitter<TaskEvents> implements TaskLike {
20052005
if (chunk.responseId) {
20062006
;(apiReqMsg as any).metadata.responseId = chunk.responseId
20072007
}
2008-
// Temporary debug to confirm UI metadata updates
2008+
// Update the specific message; avoid full-state refresh on every status chunk to reduce re-renders
20092009
await this.updateClineMessage(apiReqMsg)
2010-
// Force state refresh to ensure UI recomputes derived labels/memos
2011-
const provider = this.providerRef.deref()
2012-
await provider?.postStateToWebview()
20132010
}
20142011
} catch {}
20152012
break

0 commit comments

Comments
 (0)