[Bug] v0.147.0 - Tool description empty string causes 400 error with strict model validation
Open 💬 2 comments Opened Aug 9, 2026 by yibosun1
💡 Likely answer: A maintainer (github-actions[bot], contributor)
responded on this thread — see the highlighted reply below.
Getting error after upgrading to 0.147.0
empty_string on input[0].tools[0].description
2 Comments
Potential duplicates detected. Please review them and close your issue if it is a duplicate.
Powered by Codex Action
Root-caused in #37952: the empty string is deliberate —
default_namespace_descriptionspecial-cases the defaultfunctionsnamespace to return""while every other namespace gets a real sentence (https://github.com/openai/codex/blob/1f41cc5d92/codex-rs/tools/src/responses_api.rs#L64-L70). OpenAI's backend tolerates the empty description; Azure's Responses validator rejects it (and also rejects omitting the field), producing exactly this 400. It appears with 0.147 because that's when Responses Lite namespace grouping started applying to these configs. One-line fix: drop the special case so the default namespace gets a non-empty description too. Details and fix discussion in #37952 — this looks like a duplicate.