eigent/backend
zhenjun.chen 6990691809 feat: add OrcaRouter as a BYOK provider
Adds OrcaRouter (https://orcarouter.ai) as a dedicated BYOK provider
card in Agents > Models. OrcaRouter is an OpenAI-compatible LLM
gateway that routes each request to the cheapest or fastest provider
across many upstream model providers.

Follows the existing alias pattern for OpenAI-compatible gateways
(ModelArk, grok, llama.cpp): provider id `orcarouter` is aliased to
`openai-compatible-model` on the backend, so no CAMEL changes are
required.

- backend/app/model/model_platform.py: PLATFORM_ALIAS_MAPPING entry
- src/lib/llm.ts: INIT_PROVODERS entry with default base URL,
  positioned at the end of the list to preserve existing ordering
- src/assets/model/orcarouter.svg: official OrcaRouter brand logo
- src/pages/Agents/Models.tsx: import + register icon
- docs/core/models/byok.md: add row to Supported Providers table
2026-05-12 15:38:51 +08:00
..
.vscode chore: fix pre commit format and pipeline issue (#1144) 2026-02-04 08:06:29 +08:00
app feat: add OrcaRouter as a BYOK provider 2026-05-12 15:38:51 +08:00
benchmark feat: support harbor for benchmark (#1466) 2026-03-08 22:24:53 +08:00
lang chore: fix pre commit format and pipeline issue (#1144) 2026-02-04 08:06:29 +08:00
scripts Feat skills (#1221) 2026-02-19 02:29:21 +08:00
tests feat: check and support prompt caching for all models (#1482) 2026-04-13 22:48:47 +08:00
.gitignore feat: support harbor for benchmark (#1466) 2026-03-08 22:24:53 +08:00
.pre-commit-config.yaml feat: support harbor for benchmark (#1466) 2026-03-08 22:24:53 +08:00
.python-version chore: upgrade backend Python to 3.11 (#1142) 2026-02-05 05:24:52 +08:00
babel.cfg chore: fix pre commit format and pipeline issue (#1144) 2026-02-04 08:06:29 +08:00
cli.py chore: fix pre commit format and pipeline issue (#1144) 2026-02-04 08:06:29 +08:00
main.py add camel_log and attachments (#1546) 2026-04-10 15:42:55 +08:00
messages.pot chore: fix pre commit format and pipeline issue (#1144) 2026-02-04 08:06:29 +08:00
pyproject.toml feat: update cloud model options (#1585) 2026-04-28 14:36:14 +08:00
README.md Initial commit of eigent-main 2025-08-12 01:16:39 +02:00
uv.lock add test env (#1565) 2026-05-01 11:15:27 +08:00

uv run uvicorn main:api --port 5001

i18n operation process: https://github.com/Anbarryprojects/fastapi-babel


pybabel extract -F babel.cfg -o messages.pot . --ignore-pot-creation-date  # Extract multilingual strings from code to messages.pot file
pybabel init -i messages.pot -d lang -l zh_CN   # Generate Chinese language pack, can only be generated initially, subsequent execution will cause overwrite
pybabel compile -d lang -l zh_CN                # Compile language pack


pybabel update -i messages.pot -d lang
# -i messages.pot: Specify the input file as the generated .pot file
# -d translations: Specify the translation directory, which typically contains .po files for each language
# -l zh: Specify the language code
# regular search
\berror\b(?!\])