feat(openrouter/aion-labs/aion-3.0-mini): add new models [bot]#1709
feat(openrouter/aion-labs/aion-3.0-mini): add new models [bot]#1709models-bot[bot] wants to merge 2 commits into
Conversation
There was a problem hiding this comment.
Cursor Bugbot has reviewed your changes using default effort and found 1 potential issue.
❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.
Want higher recall? High effort reviews run extra passes and find more bugs. A team admin can switch effort levels in the Cursor dashboard.
Reviewed by Cursor Bugbot for commit 69bfc93. Configure here.
| - tool_choice | ||
| limits: | ||
| context_window: 131072 | ||
| max_output_tokens: 32768 |
There was a problem hiding this comment.
Missing limits max_tokens field
Medium Severity
The new entry sets limits.max_output_tokens to 32768 but omits limits.max_tokens, unlike every other OpenRouter model with the same output cap. With openrouter/default.yaml still bounding the max_tokens request param at 4096, consumers that rely on limits.max_tokens can treat this model as capped far below its advertised 32K output.
Reviewed by Cursor Bugbot for commit 69bfc93. Configure here.
|
/test-models |
Gateway test results
Failures (3)
ErrorCode 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/aion-labs-aion-3.0-mini",
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=False,
)
_message = response.choices[0].message
if _message.tool_calls:
for _tc in _message.tool_calls:
print(f"Function: {_tc.function.name}")
print(f"Arguments: {_tc.function.arguments}")
else:
print(_message.content)
if not _message.tool_calls or len(_message.tool_calls) == 0:
raise Exception("VALIDATION FAILED: tool-call - no tool calls in response")
print("VALIDATION: tool-call SUCCESS")
ErrorCode snippetfrom openai import OpenAI
client = OpenAI(api_key="***", base_url="https://internal.devtest.truefoundry.tech/api/llm")
response = client.chat.completions.create(
model="test-v2-openrouter/aion-labs-aion-3.0-mini",
messages=[
{"role": "user", "content": "List 3 colors with their hex codes in JSON."},
],
response_format={"type": "json_object"},
stream=False,
)
import json as _json
_content = response.choices[0].message.content
print(_content)
if not _content:
raise Exception("VALIDATION FAILED: json-output - response content is empty")
_json.loads(_content)
print("VALIDATION: json-output SUCCESS")
ErrorCode snippetfrom openai import OpenAI
client = OpenAI(api_key="***", base_url="https://internal.devtest.truefoundry.tech/api/llm")
response = client.chat.completions.create(
model="test-v2-openrouter/aion-labs-aion-3.0-mini",
messages=[
{"role": "user", "content": "List 3 colors with their hex codes in JSON."},
],
response_format={"type": "json_object"},
stream=True,
)
import json as _json
_accumulated = ""
for chunk in response:
if chunk.choices and len(chunk.choices) > 0:
delta = chunk.choices[0].delta
if delta.content is not None:
_accumulated += delta.content
print(delta.content, end="", flush=True)
if not _accumulated:
raise Exception("VALIDATION FAILED: json-output stream - no content received")
_json.loads(_accumulated)
print("\nVALIDATION: json-output stream SUCCESS")Output{"location": "London"} Paris The capital of France is Paris. To evaluate (3^{3^{3^3}}), it's crucial to follow the standard mathematical convention for exponentiation: exponentiation is right-associative, To calculate (3^{3^{3^3}}), we must first understand the order of operations for exponentiation. Exponentiation is right-associative, meaning th |


Auto-generated by model-addition-agent for
openrouter/aion-labs/aion-3.0-mini.Note
Low Risk
Single new YAML model definition with no runtime or auth changes; misconfigured costs or limits would only affect routing/billing metadata.
Overview
Adds a new OpenRouter provider definition for
aion-labs/aion-3.0-mini, registering it as a serverless chat model with 131072 context and 32768 max output tokens.The entry includes regional token pricing (including prompt cache read), text-only modalities,
thinking: true, and capability flags for function calling, JSON output, prompt caching, and tool choice, with a source link to OpenRouter.Reviewed by Cursor Bugbot for commit 61276f4. Bugbot is set up for automated code reviews on this repo. Configure here.