eigent/backend
Wendong-Fan d373a8364a update
2026-01-20 09:10:29 +08:00
..
.vscode Initial commit of eigent-main 2025-08-12 01:16:39 +02:00
app update 2026-01-20 09:10:29 +08:00
lang Initial commit of eigent-main 2025-08-12 01:16:39 +02:00
tests chore: rename search agent into browser agent 2026-01-17 04:26:30 +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 Initial commit of eigent-main 2025-08-12 01:16:39 +02:00
main.py minor update 2025-11-08 14:48:38 +08:00
messages.pot Initial commit of eigent-main 2025-08-12 01:16:39 +02:00
pyproject.toml chore: update camel version to 0283 2026-01-20 07:00:48 +08:00
README.md Initial commit of eigent-main 2025-08-12 01:16:39 +02:00
uv.lock chore: update camel version to 0283 2026-01-20 07:00:48 +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(?!\])