mirror of
https://github.com/ChatGPTNextWeb/ChatGPT-Next-Web.git
synced 2025-11-17 14:33:41 +08:00
3.7 sonnet fix emoji
This commit is contained in:
@@ -283,8 +283,8 @@ export class ClaudeApi implements LLMApi {
|
|||||||
return `${chunkJson.delta.thinking}`;
|
return `${chunkJson.delta.thinking}`;
|
||||||
}
|
}
|
||||||
if (chunkJson?.type === "content_block_stop" && inThinkingBlock) {
|
if (chunkJson?.type === "content_block_stop" && inThinkingBlock) {
|
||||||
return "🧠";
|
|
||||||
inThinkingBlock = false;
|
inThinkingBlock = false;
|
||||||
|
return "🧠\n\n";
|
||||||
}
|
}
|
||||||
if (chunkJson?.content_block?.type === "redacted_thinking") {
|
if (chunkJson?.content_block?.type === "redacted_thinking") {
|
||||||
return `${chunkJson.content_block.data}`;
|
return `${chunkJson.content_block.data}`;
|
||||||
|
|||||||
Reference in New Issue
Block a user