Skip to content

feat: add Router Core V3 to Base and Solana clients - #45

Open
KillerQueen-Z wants to merge 1 commit into
BlockRunAI:mainfrom
KillerQueen-Z:agent/router-core-v3
Open

feat: add Router Core V3 to Base and Solana clients#45
KillerQueen-Z wants to merge 1 commit into
BlockRunAI:mainfrom
KillerQueen-Z:agent/router-core-v3

Conversation

@KillerQueen-Z

Copy link
Copy Markdown
Contributor

Summary

  • add a native Python Router Core V3 adapter pinned to commit d430804
  • expose route(), smart_chat(), and smart_chat_completion() on Base/Solana sync and async clients
  • support blockrun/auto, blockrun/eco, and blockrun/premium for chat, tool/agent, and streaming requests
  • preserve full routing metadata and capability-safe transient fallback order
  • use live model catalog pricing and chain-specific x402 minimums

Validation

  • Router Core golden conformance across 14 task shapes and all four client variants
  • 470 unit tests passed
  • Ruff and package compilation/wheel build passed
  • real paid E2E passed on Base and Solana using blockrun/auto

Notes

Routing is local and completes before payment. Explicit model ids remain unchanged; settled payment errors never advance to a fallback.

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