Skip to content

Create full OpenRouter SUT factory - #1666

Merged
dhosterman merged 2 commits into
mainfrom
fix-openrouter-uids
Sep 16, 2026
Merged

dhosterman merged 2 commits into
mainfrom
fix-openrouter-uids

Conversation

@dhosterman

Copy link
Copy Markdown
Collaborator

This should fix the UIDs.

Now, the following work:

uv run modelbench benchmark general -m 1 -s qwen/qwen3.8-max-0902:openrouter -v 1.2 --prompt-set practice --evaluator private

uv run modelbench benchmark general -m 1 -s qwen/qwen3.8-max-0902:alibaba:openrouter -v 1.2 --prompt-set practice --evaluator private

I've added a simple .mise.toml file, but if we don't want to start heading in that direction, I can remove it.

This should fix the UIDs
@dhosterman dhosterman self-assigned this Sep 16, 2026
@dhosterman
dhosterman requested a review from a team as a code owner September 16, 2026 13:42
@dhosterman
dhosterman deployed to Scheduled Testing September 16, 2026 13:42 — with GitHub Actions Active
@github-actions

Copy link
Copy Markdown

MLCommons CLA bot All contributors have signed the MLCommons CLA ✍️ ✅

@wpietri wpietri left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Looks like a step forward to me, but since the mise.toml is a peer to pyproject.toml, I'd make it a non-hidden file.

@dhosterman
dhosterman deployed to Scheduled Testing September 16, 2026 13:55 — with GitHub Actions Active

@bkorycki bkorycki left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

lgtm!


OPENAI_SUT_FACTORIES["openrouter"] = OpenRouterSUTFactory
def list_suts(self) -> list[SUTDefinition] | None:
data = self.client.models.list().data

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Should this be in a try block?

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

They aren't in the other list_sut methods, so it looks like the behavior we're after is for them to fail fast and loudly.

@dhosterman
dhosterman merged commit 50d3478 into main Sep 16, 2026
3 checks passed

This branch was successfully deployed

1 active deployment
Scheduled Testing — c370428d Deployed Sep 16, 2026 by dhosterman via build #2545
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.

4 participants