feat(openrouter): add new models [bot]#938
Merged
LordGameleo merged 2 commits intomainfrom May 5, 2026
Merged
Conversation
There was a problem hiding this comment.
Cursor Bugbot has reviewed your changes and found 1 potential issue.
❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.
Reviewed by Cursor Bugbot for commit 83be96f. Configure here.
Contributor
|
/test-models |
Collaborator
Author
Gateway test results
Failures (1)
Error: Code snippetfrom openai import OpenAI
client = OpenAI(api_key="***", base_url="https://internal.devtest.truefoundry.tech/api/llm")
tools = [
{
"type": "function",
"function": {
"name": "get_weather",
"description": "Get the current weather for a location.",
"parameters": {
"type": "object",
"properties": {
"location": {
"type": "string",
"description": "The city name, e.g. London",
},
},
"required": ["location"],
"additionalProperties": False,
},
"strict": True,
},
},
]
response = client.chat.completions.create(
model="test-v2-openrouter/openrouter-owl-alpha",
messages=[
{"role": "user", "content": "Use the get_weather tool to check the weather in London. You must call the tool, do not respond with plain text."},
],
tools=tools,
tool_choice="auto",
stream=True,
)
_tool_calls_made = False
for chunk in response:
if chunk.choices and len(chunk.choices) > 0:
delta = chunk.choices[0].delta
if delta.content is not None:
print(delta.content, end="", flush=True)
if delta.tool_calls:
_tool_calls_made = True
for _tc in delta.tool_calls:
if _tc.function:
print(_tc.function.arguments or "", end="", flush=True)
if not _tool_calls_made:
raise Exception("VALIDATION FAILED: tool-call stream - no tool calls received")
print("\nVALIDATION: tool-call stream SUCCESS")Skipped (4)
Skip reason:
Skip reason:
Skip reason:
Skip reason: |
LordGameleo
approved these changes
May 5, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

Auto-generated by model-addition-agent for provider
openrouter.Note
Low Risk
Low risk: this PR only adds new OpenRouter model metadata/config YAMLs (costs, limits, features) without changing runtime logic.
Overview
Adds eight new OpenRouter model definition YAMLs, expanding the catalog with IBM Granite, InclusionAI Ling, Mistral Medium 3.5, NVIDIA Nemotron (free), OpenRouter Owl Alpha, Poolside Laguna (free variants), and xAI Grok 4.3.
Each model file specifies pricing, supported features (e.g.,
function_calling,tool_choice,structured_output/prompt_cachingwhere applicable), modalities, and token/context limits; some also include default sampling params andthinkingsupport.Reviewed by Cursor Bugbot for commit 4402292. Bugbot is set up for automated code reviews on this repo. Configure here.