Skip to content

fix(ai): remove weight recs from gateway tune - #3992

Merged
dan-petty merged 1 commit into
mainfrom
fix/2592-devops-ai-gateway-tune-recommends-weights
Nov 7, 2026
Merged

dan-petty merged 1 commit into
mainfrom
fix/2592-devops-ai-gateway-tune-recommends-weights

Conversation

@dan-petty

Copy link
Copy Markdown
Owner

Issue #2592: devops ai gateway tune recommends a routing weight and a concurrency for each deployment. It tells the reader to set litellm_params.weight. The gateway routes with least-busy, which reads no weight, and no deployment sets weight or max_parallel_requests. The reader can not apply the advice. This change makes the command report what it measures and nothing more.

Closes #2592

Change: openspec/changes/archive/2026-11-07-2592-devops-ai-gateway-tune-recommends-weights/

Remove routing weight and concurrency recommendations from `devops ai
gateway tune`. The gateway routes requests with least-busy logic and
does not read deployment weights.

- Remove Weight, Recommended and Max Parallel headers and rows from
  `_render_tune_report` and update help and document text.
- Drop `recommend_weights`, `calculate_hardware_weights`,
  `calculate_hardware_concurrency` and related functions from
  `gateway_tune.py`.
- Delete hardware routing constants from `constants.py`.
- Delete `gateway_weights` setting from `AIConfig` in `settings.py`.
- Archive OpenSpec change `2592-devops-ai-gateway-tune-recommends-weights`.

Closes #2592
@dan-petty dan-petty added type/bug Type bug: the code does not do what it must scope/ai AI review pipeline, personas, prompts, LLM client, or RAG labels Nov 7, 2026
@dan-petty
dan-petty marked this pull request as ready for review November 7, 2026 14:17
@dan-petty
dan-petty merged commit 766fb99 into main Nov 7, 2026
25 checks passed
@dan-petty
dan-petty deleted the fix/2592-devops-ai-gateway-tune-recommends-weights branch November 7, 2026 14:59
dan-petty pushed a commit that referenced this pull request Nov 7, 2026
🤖 I have created a release *beep* *boop*
---


##
[0.81.0](v0.80.0...v0.81.0)
(2026-11-07)


### Features

* **ai:** add the fetch-page command and MCP tool
([#3982](#3982))
([93c8008](93c8008)),
closes [#3892](#3892)
* **ai:** search the web through SearXNG
([#3980](#3980))
([dc276b0](dc276b0))
* **k8s:** run Crawl4AI in the devops namespace
([#3977](#3977))
([2be237b](2be237b)),
closes [#3884](#3884)
* **research:** find advisories for the pins of the project
([#3994](#3994))
([1d62738](1d62738)),
closes [#3898](#3898)
* **roadmap:** add a fetch_page tool to refine and alternatives
([#3974](#3974))
([7f2817c](7f2817c)),
closes [#3890](#3890)


### Bug Fixes

* **ai:** remove weight recs from gateway tune
([#3992](#3992))
([766fb99](766fb99))
* **k8s:** set the verification window in the example ConfigMap
([#3986](#3986))
([8436734](8436734))


### Code Refactoring

* **ui:** audit five dashboard tabs against open tools
([#3984](#3984))
([3ea416b](3ea416b))

---
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/bug Type bug: the code does not do what it must

Projects

None yet

Development

Successfully merging this pull request may close these issues.

fix(ai): remove weight recs from gateway tune

1 participant