eigent/backend
bytecraftii fd481ded5b
fix: minor change of workforce completion order (#1055)
Co-authored-by: bytecraftii <bytecraftii@users.noreply.github.com>
2026-01-27 05:05:48 +08:00
..
.vscode Initial commit of eigent-main 2025-08-12 01:16:39 +02:00
app fix: minor change of workforce completion order (#1055) 2026-01-27 05:05:48 +08:00
lang Initial commit of eigent-main 2025-08-12 01:16:39 +02:00
tests feat: support flexible model config for different agents (#1001) 2026-01-27 04:19:36 +08:00
.gitignore Initial commit of eigent-main 2025-08-12 01:16:39 +02:00
.pre-commit-config.yaml Add langfuse and update logger (#952) 2026-01-25 08:13:07 +08: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 Add langfuse and update logger (#952) 2026-01-25 08:13:07 +08:00
messages.pot Initial commit of eigent-main 2025-08-12 01:16:39 +02:00
pyproject.toml Add langfuse and update logger (#952) 2026-01-25 08:13:07 +08:00
README.md Initial commit of eigent-main 2025-08-12 01:16:39 +02:00
uv.lock Add langfuse and update logger (#952) 2026-01-25 08:13:07 +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(?!\])