fix: harden tool-call protocol and fallback handling

This commit is contained in:
m4
2026-07-19 12:05:56 +08:00
parent 4fc74e7da7
commit 3ce5614254
23 changed files with 2382 additions and 117 deletions
+1
View File
@@ -84,6 +84,7 @@ class TestIsNonFallbackable:
"Error 400: invalid_request_error",
"400 Bad Request: invalid request body",
"400: malformed JSON in request",
"<400> InvalidParameter: Repetitive tool calls detected in history",
],
)
def test_malformed_request_400_patterns(self, msg):