refactor: remove thinking content from empty output validation logic to enforce stricter completion requirements

This commit is contained in:
CJACK
2026-05-03 06:59:20 +08:00
parent 51d3578465
commit a299c7d1c4
3 changed files with 2 additions and 8 deletions

View File

@@ -6,7 +6,7 @@ import (
)
func ShouldWriteUpstreamEmptyOutputError(text, thinking string) bool {
return strings.TrimSpace(text) == "" && strings.TrimSpace(thinking) == ""
return strings.TrimSpace(text) == ""
}
func UpstreamEmptyOutputDetail(contentFilter bool, text, thinking string) (int, string, string) {