Change default truncation to prevent issues with gpt-5.1-codex.*

This commit is contained in:
Gabriel Gavilan
2025-11-22 11:29:58 +01:00
parent 45ac30325a
commit 8a82e6e094
16 changed files with 33 additions and 45 deletions
@@ -346,6 +346,5 @@
"store": false,
"stream_options": {
"include_obfuscation": false
},
"truncation": "auto"
}
}
@@ -649,6 +649,5 @@
"store": false,
"stream_options": {
"include_obfuscation": false
},
"truncation": "auto"
}
}
@@ -649,6 +649,5 @@
"store": false,
"stream_options": {
"include_obfuscation": false
},
"truncation": "auto"
}
}
@@ -395,6 +395,5 @@
"store": false,
"stream_options": {
"include_obfuscation": false
},
"truncation": "auto"
}
}
@@ -32,6 +32,5 @@
"store": false,
"stream_options": {
"include_obfuscation": false
},
"truncation": "auto"
}
}
@@ -431,6 +431,5 @@
"store": false,
"stream_options": {
"include_obfuscation": false
},
"truncation": "auto"
}
}
@@ -395,6 +395,5 @@
"store": false,
"stream_options": {
"include_obfuscation": false
},
"truncation": "auto"
}
}
@@ -313,6 +313,5 @@
"store": false,
"stream_options": {
"include_obfuscation": false
},
"truncation": "auto"
}
}
@@ -313,6 +313,5 @@
"store": false,
"stream_options": {
"include_obfuscation": false
},
"truncation": "auto"
}
}
@@ -395,6 +395,5 @@
"store": false,
"stream_options": {
"include_obfuscation": false
},
"truncation": "auto"
}
}
@@ -398,6 +398,5 @@
"store": false,
"stream_options": {
"include_obfuscation": false
},
"truncation": "auto"
}
}
+1 -1
View File
@@ -11,7 +11,7 @@ AZURE_API_KEY = "test-api-key"
AZURE_DEPLOYMENT = "gpt-5"
AZURE_SUMMARY_LEVEL = "detailed"
AZURE_VERBOSITY_LEVEL = "medium"
AZURE_TRUNCATION = "auto"
AZURE_TRUNCATION = "disabled"
RECORD_TRAFFIC = False
LOG_CONTEXT = True
+5 -7
View File
@@ -35,8 +35,7 @@ Check "azure_response" for the error details:
\t "store": false,
\t "stream_options": {
\t "include_obfuscation": false
\t },
\t "truncation": "auto"
\t }
\t }
\t}
If the issue persists, report it to:
@@ -73,8 +72,7 @@ Check "azure_response" for the error details:
\t "store": false,
\t "stream_options": {
\t "include_obfuscation": false
\t },
\t "truncation": "auto"
\t }
\t }
\t}
If the issue persists, report it to:
@@ -109,8 +107,7 @@ Check "azure_response" for the error details:
\t "store": false,
\t "stream_options": {
\t "include_obfuscation": false
\t },
\t "truncation": "auto"
\t }
\t }
\t}
If the issue persists, report it to:
@@ -122,7 +119,8 @@ class TestCompletionError(ReplyBase):
"""Test a successful HTTP request but with a streamed response.error event."""
def modify_settings(self, app) -> None:
"""Set gpt-5.1-codex model, which is currently causing this issue."""
"""Set gpt-5.1-codex model and auto truncation, which is currently causing this issue."""
app.config["AZURE_DEPLOYMENT"] = "gpt-5.1-codex"
app.config["AZURE_TRUNCATION"] = "auto"
recording = "response_error"