Skip to content

fix: test model_ids catalog and improve missing-model errors#1299

Open
AngeloDanducci wants to merge 3 commits into
generative-computing:mainfrom
AngeloDanducci:ad-297
Open

fix: test model_ids catalog and improve missing-model errors#1299
AngeloDanducci wants to merge 3 commits into
generative-computing:mainfrom
AngeloDanducci:ad-297

Conversation

@AngeloDanducci

Copy link
Copy Markdown
Contributor

Pull Request

Issue

Fixes #297

Description

test model_ids catalog and improve missing-model errors

Testing

  • Tests added to the respective file if code was changed
  • New code has 100% coverage if code was added
  • Ensure existing tests and github automation passes (a maintainer will kick off the github automation when the rest of the PR is populated)

Attribution

  • AI coding assistants used

Adding a new component, requirement, sampling strategy, or tool?

If your PR adds or modifies one of the types below, check the matching box. A checklist of type-specific review items will be posted as a comment.

  • Component
  • Requirement
  • Sampling Strategy
  • Tool

NOTE: Please ensure you have an issue that has been acknowledged by a core contributor and routed you to open a pull request against this repository. Otherwise, please open an issue before continuing with this pull request.

Signed-off-by: AngeloDanducci <angelo.danducci.ii@ibm.com>
@AngeloDanducci AngeloDanducci requested a review from a team as a code owner June 18, 2026 17:49
@github-actions github-actions Bot added the bug Something isn't working label Jun 18, 2026
Signed-off-by: AngeloDanducci <angelo.danducci.ii@ibm.com>
@AngeloDanducci AngeloDanducci enabled auto-merge June 18, 2026 20:16

@psschwei psschwei left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Inline review comments follow. Overall a solid, well-scoped PR — actionable error messages, a correct catalog fix, and a useful drift-guard test. A handful of issues to address before merge.

Comment thread test/backends/test_model_ids.py Outdated
Comment thread test/backends/test_model_ids.py Outdated
Comment thread test/backends/test_model_ids.py
Comment thread mellea/backends/huggingface.py
Comment thread mellea/backends/ollama.py
Comment thread mellea/backends/ollama.py
Comment thread mellea/backends/ollama.py Outdated
Comment thread test/backends/test_model_ids.py
Comment thread mellea/backends/huggingface.py
Signed-off-by: AngeloDanducci <angelo.danducci.ii@ibm.com>

@psschwei psschwei left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Test model_ids.py for missing models, and add graceful handling when models don't exist

3 participants