mirror of
https://github.com/router-for-me/CLIProxyAPIPlus.git
synced 2026-04-07 21:38:21 +00: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