Skip to content

fix(ai): fix MCP ai_benchmark models description - #3840

Merged
dan-petty merged 2 commits into
mainfrom
fix/2743-mcp-benchmark-models-desc
Nov 6, 2026
Merged

dan-petty merged 2 commits into
mainfrom
fix/2743-mcp-benchmark-models-desc

Conversation

@dan-petty

Copy link
Copy Markdown
Owner

The MCP tool ai_benchmark published the help text of --models as the description of its models parameter. That text gives the example llama3.1:8b@http://gpu2:11434, but the tool refuses a model@url entry. A client that copied the example got an error.

The tool now has its own description of models. It lists plain model names and gives an example that the tool accepts. A table of parameter descriptions in the MCP generator, keyed by command path and parameter name, takes priority over the help text of the option. The help text of devops ai benchmark keeps the model@url form for a person. docs/MCP_TOOLS.md is regenerated.

Closes #2743

Change: openspec/changes/archive/2026-11-06-2743-the-mcp-ai-benchmark-schema-shows/

The MCP tool ai_benchmark published the help text of --models as the
description of its models parameter. That text gave a model@url example,
which the tool refuses since #2638.

Add a table of parameter descriptions to the MCP generator and publish
plain model names for models. The command help keeps the model@url form.

Closes #2743
@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 6, 2026
@dan-petty

Copy link
Copy Markdown
Owner Author

Evidence for #2743.

Rebase base: c57328f1 (origin/main, release 0.72.1). The rebase had no conflicts. Main did not touch the changed files.

Fail-to-pass run (uv run devops ci fail-to-pass --base origin/main): 1 test failed on the base and passes with the fix, TestBenchmarkToolPublishesPlainModelNames::test_the_published_description_gives_an_example_that_the_tool_accepts. The other 14 tests of tests/ai/mcp/test_ai_benchmark_mcp_tool.py pass on the base and with the fix, among them test_the_command_help_keeps_the_model_url_form.

After the rebase: uv run pytest tests/ai/mcp/test_ai_benchmark_mcp_tool.py gives 15 passed. The pre-push fast static checks passed.

@dan-petty
dan-petty marked this pull request as ready for review November 6, 2026 19:48
@dan-petty
dan-petty merged commit 26a0ef4 into main Nov 6, 2026
24 checks passed
@dan-petty
dan-petty deleted the fix/2743-mcp-benchmark-models-desc branch November 6, 2026 19:49
dan-petty pushed a commit that referenced this pull request Nov 6, 2026
🤖 I have created a release *beep* *boop*
---


##
[0.73.0](v0.72.1...v0.73.0)
(2026-11-06)


### Features

* **pr:** check-readiness blocks a body that breaks the form
([#3849](#3849))
([6c973a5](6c973a5)),
closes [#3259](#3259)
* **roadmap:** Allow read pipes to a table of allowed programs
([#3838](#3838))
([89daf41](89daf41)),
closes [#3520](#3520)
* **roadmap:** size the runner Job resources from the plan
([#3848](#3848))
([32328b1](32328b1))


### Bug Fixes

* **ai:** fix MCP ai_benchmark models description
([#3840](#3840))
([26a0ef4](26a0ef4))
* **review:** catch findings.json validation errors
([#3841](#3841))
([bc5f241](bc5f241))
* **security:** Refuse Go, Yarn and uv env keys
([#3845](#3845))
([235a807](235a807))


### Performance Improvements

* **k8s:** use tag_digest HEAD for image pins
([#3843](#3843))
([a61d671](a61d671))


### Code Refactoring

* **roadmap:** the in-memory store leaves src
([#3839](#3839))
([558c5e0](558c5e0))

---
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): fix MCP ai_benchmark models description

1 participant