Skip to content

feat(ai): Route DeepSeek calls around a stalled provider - #5995

Merged
dan-petty merged 2 commits into
mainfrom
feat/5990-route-around-a-stalled-or-offline
Nov 16, 2026
Merged

dan-petty merged 2 commits into
mainfrom
feat/5990-route-around-a-stalled-or-offline

Conversation

@dan-petty

Copy link
Copy Markdown
Owner

The gateway group deepseek-v4.1-flash-1017 now routes around a stalled
provider. Order 1 (the dated model) cools for 120 s after one failure;
order 2 is deepseek-v4.1-flash with the same fp8 and
data_collection: deny filters. Health checks each 60 s, on the DeepSeek
groups only, take a stalled deployment out before a call fails. The
router allowed_fails goes from 3 (the LiteLLM default, which counts no
failures) to 2.

Template switch: ai.model, the DeepSeek tasks and the implement ladder
name deepseek-v4.1-flash-1017 again. This reverses the manual move of
#5988 to deepseek-v4.1-flash: the group now does it.

Mock, LiteLLM 1.103.11: after an in-stream 408 the next call got order 2
in 0.010 s; a stalled check moved calls 83.5 s into the stall, with no
failed call; order 1 came back 61.7 s after recovery.

Rollout: Argo CD applies the gateway; then run deploy-stack.

Closes #5990

Change: openspec/changes/archive/2026-11-16-5990-route-around-a-stalled-or-offline/

@dan-petty dan-petty added type/feature Type feature: a new function scope/ai AI review pipeline, personas, prompts, LLM client, or RAG labels Nov 16, 2026
@dan-petty
dan-petty marked this pull request as ready for review November 16, 2026 17:32
The group deepseek-v4.1-flash-1017 gets two orders, a per-deployment
cooldown, and health checks on the DeepSeek groups only. The router
allowed_fails goes from 3 to 2. The template names -1017 again.

Closes #5990
@devops-cli-service

Copy link
Copy Markdown
Contributor

Pull request #5995 has merge conflicts with main at commit 90fa2ab6e171. GitHub cannot merge it. Rebase the branch onto the current main, resolve the conflicts and push the branch.

@dan-petty
dan-petty force-pushed the feat/5990-route-around-a-stalled-or-offline branch from 90fa2ab to 4fd84a1 Compare November 16, 2026 17:35
@dan-petty
dan-petty merged commit 183a75a into main Nov 16, 2026
25 checks passed
@dan-petty
dan-petty deleted the feat/5990-route-around-a-stalled-or-offline branch November 16, 2026 17:44
dan-petty pushed a commit that referenced this pull request Nov 16, 2026
🤖 I have created a release *beep* *boop*
---


##
[0.166.0](v0.165.2...v0.166.0)
(2026-11-16)


### Features

* **ai:** Route DeepSeek calls around a stalled provider
([#5995](#5995))
([183a75a](183a75a))
* **github:** write a Renovate App installation token to a file
([#5994](#5994))
([b2c6264](b2c6264)),
closes [#4897](#4897)
* **roadmap:** Check each PR attribute in the open step
([#5981](#5981))
([69bf1aa](69bf1aa))
* **roadmap:** Retry a refused pull request body once
([#5929](#5929))
([8ebf3ce](8ebf3ce))
* **roadmap:** show a stopped item's class and next action
([#5946](#5946))
([4bd6128](4bd6128))


### Bug Fixes

* **ci:** Pin the devcontainer feature releases
([#5936](#5936))
([efbfc05](efbfc05))
* **roadmap:** Keep the Planned limit in the stage job
([#5940](#5940))
([4758ddd](4758ddd))

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).

Co-authored-by: dan-petty-release[bot] <346998822+dan-petty-release[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

scope/ai AI review pipeline, personas, prompts, LLM client, or RAG type/feature Type feature: a new function

Projects

None yet

Development

Successfully merging this pull request may close these issues.

feat(ai): Route around a stalled or offline model provider

1 participant