3.7 sonnet fix emoji

This commit is contained in:
richardclim 2025-02-26 19:53:06 -05:00
parent 9d85608239
commit 3c543f4be4

View File

@ -283,8 +283,8 @@ export class ClaudeApi implements LLMApi {
return `${chunkJson.delta.thinking}`;
}
if (chunkJson?.type === "content_block_stop" && inThinkingBlock) {
return "🧠";
inThinkingBlock = false;
return "🧠\n\n";
}
if (chunkJson?.content_block?.type === "redacted_thinking") {
return `${chunkJson.content_block.data}`;