Skip to content

gpt 5-3-Codex model support in databricks#7516

Merged
angiejones merged 1 commit intomainfrom
dkatz/databricks-codex
Feb 25, 2026
Merged

gpt 5-3-Codex model support in databricks#7516
angiejones merged 1 commit intomainfrom
dkatz/databricks-codex

Conversation

@katzdave
Copy link
Copy Markdown
Contributor

Codex models only support the new responses API.

Still using a simple check based on if the model contains codex, but should be good as an initial unblocker. 5-2-codex wasn't working either.

Copy link
Copy Markdown

@chatgpt-codex-connector chatgpt-codex-connector bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 406428bb9b

ℹ️ About Codex in GitHub

Codex has been enabled to automatically review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".


fn is_responses_model(model_name: &str) -> bool {
let normalized = model_name.to_ascii_lowercase();
normalized.contains("codex")
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge Route Responses API using capability, not name matching

Switching to the Responses endpoint based on normalized.contains("codex") causes incorrect routing for Databricks because this provider treats model_name as a serving endpoint name (see fetch_supported_models returning endpoint.name), not a guaranteed model-family identifier. Any endpoint whose name happens to include codex will now be forced to serving-endpoints/responses, and codex-backed endpoints without that substring will still use /invocations, so requests can be sent to the wrong API path despite valid endpoint configuration.

Useful? React with 👍 / 👎.

@angiejones angiejones added this pull request to the merge queue Feb 25, 2026
Merged via the queue into main with commit ca34455 Feb 25, 2026
27 of 28 checks passed
@angiejones angiejones deleted the dkatz/databricks-codex branch February 25, 2026 20:34
craigwalkeruk pushed a commit to craigwalkeruk/custom-goose that referenced this pull request Mar 5, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants