mirror of
https://mirror.skon.top/github.com/router-for-me/CLIProxyAPI
synced 2026-04-30 16:20:23 +08:00
fix: clear stale thinking signature when no block is open
This commit is contained in:
@@ -389,6 +389,7 @@ func ClaudeTokenCount(_ context.Context, count int64) []byte {
|
||||
|
||||
func finalizeCodexThinkingBlock(params *ConvertCodexResponseToClaudeParams) []byte {
|
||||
if !params.ThinkingBlockOpen {
|
||||
params.ThinkingSignature = ""
|
||||
return nil
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user