eigent/backend
Wendong-Fan 4d49c71f53
Some checks are pending
CodeQL Advanced / Analyze (actions) (push) Waiting to run
CodeQL Advanced / Analyze (javascript-typescript) (push) Waiting to run
CodeQL Advanced / Analyze (python) (push) Waiting to run
chore: remove sonnet 4 model, add terminal toolkit to user defined agent (#1074)
2026-01-24 10:36:01 +08:00
..
.vscode Initial commit of eigent-main 2025-08-12 01:16:39 +02:00
app chore: remove sonnet 4 model, add terminal toolkit to user defined agent (#1074) 2026-01-24 10:36:01 +08:00
lang Initial commit of eigent-main 2025-08-12 01:16:39 +02:00
tests feat: copyright header pre-commit (#1053) 2026-01-24 08:22:20 +08:00
.gitignore Initial commit of eigent-main 2025-08-12 01:16:39 +02:00
.python-version 📝 docs: optimize local development setup 2026-01-13 23:15:11 +08:00
babel.cfg Initial commit of eigent-main 2025-08-12 01:16:39 +02:00
cli.py feat: copyright header pre-commit (#1053) 2026-01-24 08:22:20 +08:00
main.py feat: copyright header pre-commit (#1053) 2026-01-24 08:22:20 +08:00
messages.pot Initial commit of eigent-main 2025-08-12 01:16:39 +02:00
pyproject.toml chore: update camel version 2026-01-23 11:07:03 +08:00
README.md Initial commit of eigent-main 2025-08-12 01:16:39 +02:00
uv.lock chore: update camel version 2026-01-23 11:07:03 +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(?!\])