Skip to content

Commit e9453bf

Browse files
doctarockedelauna
authored andcommitted
docs: clarify reasoning summary fallback
1 parent 87c4f32 commit e9453bf

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

src/core/task/apiConversationHistory.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,8 @@ function prepareAssistantMessage(
7474

7575
prependContentBlock(messageWithTs, thinkingBlock)
7676
} else if (reasoning && !reasoningDetails) {
77+
// The original Task.ts also duck-typed getSummary?.(), but no provider implements it.
78+
// Keep the explicit empty summary to preserve the existing reasoning-block wire shape.
7779
const reasoningBlock = {
7880
type: "reasoning",
7981
text: reasoning,

0 commit comments

Comments
 (0)