Skip to content

Model picker contract test: follow the isMaterializedOllamaLink rename - #18371

Closed
shimmyshimmer wants to merge 1 commit into
mainfrom
fix-ollama-picker-contract-test
Closed

shimmyshimmer wants to merge 1 commit into
mainfrom
fix-ollama-picker-contract-test

Conversation

@shimmyshimmer

Copy link
Copy Markdown
Member

tests/studio/test_model_picker_contracts.py::test_the_chat_picker_marks_ollama_targets_unloadable_by_the_api fails on main since #18253:

assert "return !isLora && !ids.some(isOllamaLinkPath);" in predicate
AssertionError

#18253 made Ollama MLX tags loadable by switching apiAutoSwitchMayLoad and the override backfill from isOllamaLinkPath to isMaterializedOllamaLink, but this source-contract test still pinned the old helper name. It turns "Repo tests (CPU, studio)" red for PRs built on current main.

This updates the two assertions to the helper the code now uses. No product code changes.

pytest tests/studio/test_model_picker_contracts.py: 205 passed (main: 1 failed).

danielhanchen added a commit to 0xalkinun/unsloth that referenced this pull request Nov 18, 2026
@danielhanchen

Copy link
Copy Markdown
Member

@codex review

1 similar comment
@danielhanchen

Copy link
Copy Markdown
Member

@codex review

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 18, 2026 •

Copy link
Copy Markdown
Codex Review Summary: ✅ Completed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-18T17:58:24.764890Z 0b5410b Manual request
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@chatgpt-codex-connector

Copy link
Copy Markdown

Codex Review: Didn't find any major issues. Can't wait for the next one!

Reviewed commit: 0b5410bae7

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

@shimmyshimmer

Copy link
Copy Markdown
Member Author

Superseded by #18372, which landed the same test update on main.

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