Skip to content

Migrate DeepSeek routing to V4.1 Flash - #108

Merged
erinepshovel-code merged 4 commits into
mainfrom
fix/deepseek-v4-1-flash-routing
Sep 10, 2026
Merged

Migrate DeepSeek routing to V4.1 Flash#108
erinepshovel-code merged 4 commits into
mainfrom
fix/deepseek-v4-1-flash-routing

Conversation

@erinepshovel-code

Copy link
Copy Markdown
Collaborator

Summary

  • make deepseek-flash the canonical DeepSeek V4.1 Flash route
  • collapse the former V4 Flash/Pro presets onto the current Flash endpoint
  • keep deepseek-pro and the retired V4 model slugs as hidden compatibility aliases that canonicalize before dispatch
  • update peak token pricing, cache pricing, vision/context/output metadata, and reasoning-effort mappings
  • preserve the shared OpenAI-compatible adapter; no provider-specific DeepSeek adapter is introduced
  • send reasoning.effort=none explicitly for providers that require it

DeepSeek retires the distinct deepseek-v4-pro route at 2026-09-14 04:00 UTC. Official references: DeepSeek updates and pricing/model table.

Compatibility and rollout

  • Existing A0_PROVIDER=deepseek-pro, persisted deepseek-v4-pro, and earlier Flash aliases continue to work, but resolve to canonical deepseek / deepseek-flash.
  • The legacy Pro choice is hidden from the model catalog and no longer carries a workspace-tier gate.
  • OpenAI and xAI routes are unchanged and remain available as rollback routes.
  • No credentials, provider accounts, or subscriptions are changed.

Verification

  • uv run pytest -q tests/test_open_comp_prov_v0.0.0alpha.py tests/test_open_comp_rout_v0.0.0alpha.py tests/test_aone_open_comp_adap_v0.0.0alpha.py tests/test_appr_tool_disp_v0.0.0alpha.py tests/test_a0_package.py
  • Result: 104 passed
  • OpenAI-compatible contract witness passed.
  • Full repository collection was also attempted; it is blocked by pre-existing environment requirements for edcm_org and DATABASE_URL, before test execution.

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Sep 10, 2026

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review Completed 2026-09-10T23:05:00.198774Z 01c6f88 Manual request
ℹ️ About Codex in GitHub

Your team has set up Codex to 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" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

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

Copy link
Copy Markdown

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: faf5d279d0

ℹ️ About Codex in GitHub

Your team has set up Codex to 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 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread python/services/energy_registry.py Outdated
Comment thread python/config/providers.json
Comment thread python/config/providers.json
Comment thread python/config/providers.json
Comment thread python/services/model_catalog.py

Copy link
Copy Markdown
Collaborator Author

@codex review exact head e50c402

Comment thread python/services/edcm_explainer.py Fixed

Copy link
Copy Markdown
Collaborator Author

@codex review exact head 01c6f88

@chatgpt-codex-connector

Copy link
Copy Markdown

Codex Review: Didn't find any major issues. Keep them coming!

Reviewed commit: 01c6f8897e

ℹ️ About Codex in GitHub

Your team has set up Codex to 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 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

@erinepshovel-code
erinepshovel-code merged commit 9a58c3f into main Sep 10, 2026
13 checks passed
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.

1 participant