Repository navigation
Conversation
added 2 commits
October 20, 2026 14:12
…rgon capabilities) Port router-core 2cd5a10..3aca0e1 (#9): model_capabilities.py gains google/gemini-4-argon (1M context, 65,536 output, vision, supports_tools False -> fails closed). Upstream config.ts and every vitest file are unchanged in that range; the decision fixture is re-copied and byte-identical (88/88 reproduce). Commit markers move to 3aca0e1.
Contributor
Author
VickyXAI
added a commit
that referenced
this pull request
Oct 27, 2026
…t a skip (#96) Port of @blockrun/llm #92 (review of the TS #89 port): settlement_skipped() ignores a marker when the response proves the payment settled (PAYMENT-RESPONSE not failed with a transaction or a positive amount / extra.chargedAmount, or X-Payment-Receipt), writing the conflict to stderr; negative values are not a marker. blockrun.ai's free-fallback receipt ({success: true, transaction: ""}, no amount) stays skipped. 8 new helper tests fail on main. Co-authored-by: 1bcMax <viewitter@gmail.com>
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.
Ports router-core 2cd5a10 → 3aca0e1 (router-core #9) into
blockrun_llm/router_core/. This is a hand port: the repo has no sync script, so I followed the #87 pattern.model_capabilities.pyadds thegoogle/gemini-4-argonentry withsupports_tools: False, so it fails closed for tool requests. It sits in upstream's order with upstream's comment.__init__.py,config.pyand the two parity-test docstrings move to3aca0e1.tests/unit/router_core_decisions.snapshot.jsonis copied again from upstream3aca0e1, and the result is byte-identical: no diff.Routing unchanged:
config.ts,portfolio.tsand every*.test.tsare unchanged in this range.Version 1.21.1, set in
VERSION,pyproject.tomland__version__. The changelog also covers the README line from #89.Tests: pytest
tests/unitpasses 1,342.