Skip to content

🦋 New version release#76

Merged
brentrager merged 1 commit into
mainfrom
changeset-release/main
Jul 8, 2026
Merged

🦋 New version release#76
brentrager merged 1 commit into
mainfrom
changeset-release/main

Conversation

@brentrager

Copy link
Copy Markdown
Contributor

This PR was opened by the Changesets release GitHub action. When you're ready to do a release, you can merge this and the packages will be published to npm automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to main, this PR will be updated.

Releases

@smooai/smooth-operator-core@0.20.3

Patch Changes

  • ab24904: feat(llm,python): clamp max_tokens to the model's output ceiling (Python parity)

    Python parity for the Rust LlmClient output-ceiling clamp. AgentOptions gains a
    model_max_output: int | None field and the engine now sends
    effective_max_tokens(max_tokens, model_max_output) =
    min(max_tokens, ceiling) on both the streaming and non-streaming chat paths (None
    / non-positive ceiling ⇒ graceful passthrough, no behaviour change). A new
    effective_max_tokens helper is exported for consumers. This stops a policy/budget
    max_tokens from exceeding what a model can physically emit — which otherwise makes
    a reasoning model burn its budget and return empty, or 400s upstream (e.g.
    groq-compound's 8192 output cap). The ceiling is sourced from the gateway's
    /model/info by the consumer (the server), kept out of the engine. EPIC th-1cc9fa.

@brentrager brentrager force-pushed the changeset-release/main branch from 174773f to 578ed06 Compare July 8, 2026 20:27
@brentrager brentrager merged commit f7f07f5 into main Jul 8, 2026
4 checks passed
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.

1 participant