mirror of
https://github.com/ChatGPTNextWeb/ChatGPT-Next-Web.git
synced 2025-09-27 05:36:39 +08:00
3.7 sonnet fix emoji
This commit is contained in:
parent
9d85608239
commit
3c543f4be4
@ -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}`;
|
||||||
|
Loading…
Reference in New Issue
Block a user