handle DeepSeek reasoning-only test responses

This commit is contained in:
Marco0300
2026-09-10 09:27:22 +02:00
parent 715c414f43
commit 43bb639093
2 changed files with 5 additions and 1 deletions
+1
View File
@@ -142,6 +142,7 @@ class BrowserOnlyAppTests(unittest.TestCase):
self.assertEqual(status, 200)
self.assertTrue(body["ok"])
self.assertEqual(http_json.call_args.args[0:2], ("POST", "https://api.deepseek.com/v1/chat/completions"))
self.assertEqual(http_json.call_args.args[2]["thinking"], {"type": "disabled"})
def test_provider_errors_are_not_mislabelled_as_maps_errors(self):
class CloudflareResponse: