[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

View original on GitHub ↗

2 Comments

github-actions[bot] contributor · 19 days ago

Potential duplicates detected. Please review them and close your issue if it is a duplicate.

  • #37487
  • #37432
  • #37422
  • #37380

Powered by Codex Action

jdcodes1 · 9 days ago

Root-caused in #37952: the empty string is deliberate — default_namespace_description special-cases the default functions namespace 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.