Skip to content

fix(ai): the default model, the bundle models, the benchmark default and the gpu matrix name models that the gateway serves - #2188

Merged
dan-petty merged 1 commit into
mainfrom
fix/2125-default-models-are-served
Oct 24, 2026
Merged

dan-petty merged 1 commit into
mainfrom
fix/2125-default-models-are-served

Conversation

@dan-petty

Copy link
Copy Markdown
Owner

Summary

Four defaults of the CLI named models or groups that k8s/llm/gateway/config.yaml does not serve. This change makes each one a model or group that the gateway serves, and adds tests that fail when one of them names a model that the gateway does not serve. The tests use the served-model checks of #1969 and #2047 in tests/test_k8s_llm_gateway.py (_off_the_gateway, _groups_off_the_gateway). The change adds no second parser of the gateway config.

  • DEFAULT_AI_MODEL is qwen3.8:27b, not gemma4:26b. The default provider calls Ollama, and devops k8s configure-urls points it at the default Ollama Service. provider: gateway asks the gateway for the same name. qwen3.8:27b is on the tier of the default Ollama Service and is a gateway group. It is also the model of the devops-chat route and of config.example.yaml. docs/CONFIGURATION.md shows the new default.
  • DEFAULT_BUNDLE_MODELS is DEFAULT_AI_MODEL and DEFAULT_RAG_EMBEDDING_MODEL, not qwen2.5-coder:7b and llama3.1:8b. An air-gapped devcontainer then holds the models that the default chat and embedding tasks call.
  • BenchmarkRunner with no candidate runs the configured ai.model, as devops ai benchmark already does when --models names none. The qwen2.5-coder:7b literal is gone.
  • In src/devops_cli/k8s/gpu_matrix.json, each devops-flagship (8 profiles, 5 Service aliases) is deepseek-r1:70b. That is the gateway group that serves the 70B model of those profiles. devops k8s gpu-matrix shows it in its Virtual Model column.

Evidence, from 2026-10-24:

  • The live gateway Deployment mounted the ConfigMap llm-gateway-config-<hash>, and its config.yaml was equal to the file in git. Its groups were deepseek-r1:70b, devops-background, devops-chat, devops-coder, devops-reasoning, devops-review, gemma4:31b, gpt-oss:20b, qwen3-coder:30b, qwen3-embedding:0.6b and qwen3.8:27b. No deployment named gemma4:26b, qwen2.5-coder:7b or llama3.1:8b, and no group was devops-flagship.
  • git log -S: config.example.yaml changed model: gemma4:26b to model: qwen3.8:27b in v0.2.5, and the default did not change. devops-flagship left the gateway config in v0.2.24, together with its vLLM backend.
  • On the base, test_every_default_model_is_a_model_that_the_default_ollama_tier_and_the_gateway_serve failed and named gemma4:26b, qwen2.5-coder:7b and llama3.1:8b at their three places. test_every_gpu_matrix_virtual_model_is_a_group_that_the_gateway_serves failed and named the 13 places with devops-flagship. test_a_benchmark_with_no_candidate_runs_the_configured_model failed with ['qwen2.5-coder:7b'].

Item

Closes #2125

Change: openspec/changes/archive/2026-10-24-2125-default-models-are-served/

…and the gpu matrix name models that the gateway serves

Four defaults named models or groups that k8s/llm/gateway/config.yaml
does not serve. This change makes each one a model or group that the
gateway serves, and adds tests that fail when one names a model that
the gateway does not serve.

- DEFAULT_AI_MODEL is qwen3.8:27b, not gemma4:26b. The gateway config
  sends it to the tier of the default Ollama Service, and it is a
  gateway group. It is the model of the devops-chat route and of
  config.example.yaml.
- DEFAULT_BUNDLE_MODELS is the default chat model and the default
  embedding model, not qwen2.5-coder:7b and llama3.1:8b.
- BenchmarkRunner with no candidate runs the configured ai.model, as
  devops ai benchmark does. The qwen2.5-coder:7b literal is gone.
- In gpu_matrix.json, each devops-flagship is deepseek-r1:70b, the
  gateway group that serves the 70B model of those profiles.

The tests use the served-model checks of #1969 and #2047 in
tests/test_k8s_llm_gateway.py.

Closes #2125
@dan-petty
dan-petty marked this pull request as ready for review October 24, 2026 22:33
@dan-petty
dan-petty merged commit 38f6afa into main Oct 24, 2026
17 checks passed
@dan-petty
dan-petty deleted the fix/2125-default-models-are-served branch October 24, 2026 22:33
dan-petty pushed a commit that referenced this pull request Oct 24, 2026
🤖 I have created a release *beep* *boop*
---


##
[0.4.2](v0.4.1...v0.4.2)
(2026-10-24)


### Bug Fixes

* **ai:** the default model, the bundle models, the benchmark default
and the gpu matrix name models that the gateway serves
([#2188](#2188))
([38f6afa](38f6afa))
* **cli:** devops docker prune removes stopped containers, unused
networks and dangling images instead of failing on every engine
([#2190](#2190))
([adc122b](adc122b))
* **github:** gh calls no longer stall silently behind a fixed 60-call
window ([#1118](#1118))
([#2189](#2189))
([ba239fa](ba239fa))

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

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

fix(ai): the default model, the bundle models, the benchmark default and the gpu matrix name models that the gateway serves

1 participant