Files
XiaoHuo888 d8580caf01 Add OrcaRouter as a named LLM provider
Registers ChatOrcaRouter (provider='orcarouter'), an OpenAI-compatible
BaseChatModel mirroring the existing ChatOpenRouter wiring, so the model
gateway is usable as a first-class provider:

- browser_use/llm/orcarouter/chat.py + serializer.py
- Registered in browser_use/llm/__init__.py and browser_use/__init__.py
- Token-cost guard: never attribute upstream prices to the gateway
- .env.example ORCAROUTER_API_KEY entry
- tests/ci/test_orcarouter.py and examples/models/orcarouter.py

Co-Authored-By: Claude <noreply@anthropic.com>
2026-08-12 08:05:12 +08:00

5.1 KiB