Improve logic for azure error formatting

This commit is contained in:
gabrii
2025-09-25 18:18:19 +02:00
parent f39ce829ed
commit c2a148b384
2 changed files with 13 additions and 16 deletions
+3 -3
View File
@@ -21,7 +21,7 @@ Check "azure_response" for the error details:
\t "foo": "bar"
\t },
\t "request_body": {
\t "instructions": "REDACTE...",
\t "instructions": "REDACTED...",
\t "input": "...redacted 2 input items...",
\t "model": "gpt-5",
\t "tools": "...redacted 11 tools...",
@@ -59,7 +59,7 @@ Check "azure_response" for the error details:
\t "error": "Bad API Key or whatever"
\t },
\t "request_body": {
\t "instructions": "REDACTE...",
\t "instructions": "REDACTED...",
\t "input": "...redacted 2 input items...",
\t "model": "gpt-5",
\t "tools": "...redacted 11 tools...",
@@ -95,7 +95,7 @@ Check "azure_response" for the error details:
\t "azure_status_code": 500,
\t "azure_response": "Internal Server Error",
\t "request_body": {
\t "instructions": "REDACTE...",
\t "instructions": "REDACTED...",
\t "input": "...redacted 2 input items...",
\t "model": "gpt-5",
\t "tools": "...redacted 11 tools...",