Files
omnigent-ai--omnigent/examples
Arya Buddha 19c846db77 fix(debby): run the GPT head on codex so it doesn't fall back to Databricks (#179) (#180)
Debby's GPT head was pinned to the openai-agents harness with no model. In
omnigent/inner/openai_agents_sdk_executor.py the client builder treats an
unpinned model as a Databricks model (`is_databricks_model = model is None`),
so with no OPENAI_API_KEY/OPENAI_BASE_URL in the environment it skips the
fail-loud guard and falls back to ambient Databricks credentials — routing the
"GPT" head through the Databricks gateway instead of OpenAI.

Switch the GPT head to the codex harness: codex is GPT-only, uses OpenAI's
native auth, and has no unpinned-model Databricks fallback (a directly-supplied
gateway with no model fails loud rather than silently defaulting to
databricks-*). Debby already requires an OpenAI credential, so the codex head
resolves to OpenAI/GPT.

- examples/debby: GPT head harness openai-agents -> codex; refresh the stale
  comments and orchestrator prompt that named openai-agents.
- omnigent/resources/examples/debby: keep the packaged copy (used by server
  seeding) byte-identical.
- tests/cli/test_chat.py: the bundle-materialization test expected
  gpt=openai-agents; update to codex.
- tests/spec/test_debby_example.py: add a parse-only regression guard that the
  GPT head is codex and pins no Databricks model/auth.

Signed-off-by: Arya Buddha <40647186+AryaBuddha@users.noreply.github.com>
Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Co-authored-by: dbczumar <corey.zumar@databricks.com>
2026-06-18 00:46:42 -07:00
..