eigent/backend
Tong Chen b528bf09b3
Some checks failed
CodeQL Advanced / Analyze (actions) (push) Has been cancelled
CodeQL Advanced / Analyze (javascript-typescript) (push) Has been cancelled
CodeQL Advanced / Analyze (python) (push) Has been cancelled
Pre-commit / pre-commit (push) Has been cancelled
Test / Run Python Tests (push) Has been cancelled
Releases v0.0.90 (#1563)
2026-04-15 20:52:22 +08:00
..
.vscode chore: fix pre commit format and pipeline issue (#1144) 2026-02-04 08:06:29 +08:00
app Releases v0.0.90 (#1563) 2026-04-15 20:52:22 +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: check and support prompt caching for all models (#1482) 2026-04-13 22:48:47 +08:00
README.md Initial commit of eigent-main 2025-08-12 01:16:39 +02:00
uv.lock feat: check and support prompt caching for all models (#1482) 2026-04-13 22:48:47 +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(?!\])