eigent/backend
2026-02-02 01:37:21 +01:00
..
.vscode Initial commit of eigent-main 2025-08-12 01:16:39 +02:00
app style: yapf format task.py 2026-02-01 20:27:16 +01:00
lang Initial commit of eigent-main 2025-08-12 01:16:39 +02:00
tests refactor: fix note taking toolkit minor bug and refactor toolkit listen (#1091) 2026-02-02 01:12:15 +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 Merge upstream/main - resolve frontend conflicts and add streaming agent output 2026-02-01 20:11:35 +01:00
README.md Initial commit of eigent-main 2025-08-12 01:16:39 +02:00
uv.lock enhance: dark mode icon (#1122) 2026-02-02 05:22:56 +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(?!\])