mirror of
https://gitee.com/wanwujie/sub2api
synced 2026-04-19 06:14:45 +08:00
add test file
This commit is contained in:
@@ -259,6 +259,7 @@ func FilterThinkingBlocksForRetry(body []byte) []byte {
|
||||
if !hasEmptyContent && !containsThinkingBlocks {
|
||||
if topThinking := gjson.Get(jsonStr, "thinking"); topThinking.Exists() {
|
||||
if out, err := sjson.DeleteBytes(body, "thinking"); err == nil {
|
||||
out = removeThinkingDependentContextStrategies(out)
|
||||
return out
|
||||
}
|
||||
return body
|
||||
|
||||
Reference in New Issue
Block a user