Skip to content

chore: drop unused available_models field from EvalsDomainConfig#7993

Merged
kausmeows merged 1 commit into
mainfrom
chore/cleanup-evals-domain-config
May 19, 2026
Merged

chore: drop unused available_models field from EvalsDomainConfig#7993
kausmeows merged 1 commit into
mainfrom
chore/cleanup-evals-domain-config

Conversation

@harshsinha03

@harshsinha03 harshsinha03 commented May 19, 2026

Copy link
Copy Markdown
Contributor

Summary

The Evals UI "Evaluation model" dropdown is populated from the top-level AgentOSConfig.available_models field returned by GET /config (see libs/agno/agno/os/router.py:174 and libs/agno/agno/os/mcp.py:82).

EvalsDomainConfig.available_models was declared but never read anywhere in the codebase — setting it under evals.dbs[].domain_config

This PR removes the unused field. The top-level AgentOSConfig.available_models becomes the only supported path, matching what the frontend already consumes.

Type of change

  • Bug fix
  • New feature
  • Breaking change
  • Improvement
  • Model update
  • Other:

Checklist

  • Code complies with style guidelines
  • Ran format/validation scripts (./scripts/format.sh and ./scripts/validate.sh)
  • Self-review completed
  • Documentation updated (comments, docstrings)
  • Examples and guides: Relevant cookbook examples have been included or updated (if applicable) — no cookbooks reference the removed field
  • Tested in clean environment
  • Tests added/updated (if applicable) — pure cleanup, no behavior change to test

Duplicate and AI-Generated PR Check

  • I have searched existing open pull requests and confirmed that no other PR already addresses this issue
  • If a similar PR exists, I have explained below why this PR is a better approach
  • Check if this PR was entirely AI-generated (by Copilot, Claude Code, Cursor, etc.) — drafted with Claude Code; verification and review by author

The Evals UI "Evaluation model" dropdown is populated from the top-level
AgentOSConfig.available_models field returned by GET /config (see
libs/agno/agno/os/router.py:174 and libs/agno/agno/os/mcp.py:82).

EvalsDomainConfig.available_models was declared but never read anywhere,
so setting it inside evals.dbs[].domain_config was a silent no-op that
misled users trying to populate the dropdown. Removing the field so the
top-level config is the single supported path.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
@kausmeows kausmeows merged commit 11f1d86 into main May 19, 2026
9 checks passed
@kausmeows kausmeows deleted the chore/cleanup-evals-domain-config branch May 19, 2026 12:29
harshsinha03 added a commit to agno-agi/docs that referenced this pull request May 20, 2026
## Description

Documented `evals.available_models` and
`evals.dbs[].domain_config.available_models` were never plumbed through
on the SDK side — setting them was a silent no-op that left the Evals UI
"Evaluation model" dropdown empty (the reported bug).

The only path the frontend actually reads is the top-level
`AgentOSConfig.available_models` returned by `GET /config` (sourced at
`libs/agno/agno/os/router.py:174` and `libs/agno/agno/os/mcp.py:82`).

This PR updates three places:

- **`_snippets/agent-os-configuration-reference.mdx`** — drop the
`available_models` row from the `EvalsConfig` parameter table.
- **`agent-os/config.mdx`** — drop both the top-level
`evals.available_models` and the nested
`evals.dbs[].domain_config.available_models` from the YAML example; trim
the misleading comment.
- **`reference/agent-os/configuration.mdx`** — drop the same nested
blocks from the YAML schema reference.

After these edits, the only `available_models` mentioned in the docs is
the legitimate top-level field (sibling of `evals:`, not nested under
it).

## Type of Change

- [x] Bug fix (errors, broken links, outdated info)
- [ ] New content
- [ ] Content improvement
- [ ] Other: ____

## Related Issues/PRs (if applicable)

- Related SDK PR: agno-agi/agno#7993

## Checklist

- [x] Content is accurate and up-to-date
- [x] All links tested and working (\`mint broken-links\` clean)
- [x] Code examples verified (Python/YAML round-tripped through
`TestClient` against `GET /config`)
- [x] Spelling and grammar checked
- [ ] Screenshots updated (not applicable)

Co-authored-by: Claude Opus 4.7 <noreply@anthropic.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.

2 participants