eigent/backend
bytecii 81e6c7f252
refactor: fix note taking toolkit minor bug and refactor toolkit listen (#1091)
Co-authored-by: bytecraftii <bytecraftii@users.noreply.github.com>
Co-authored-by: Wendong-Fan <133094783+Wendong-Fan@users.noreply.github.com>
Co-authored-by: Wendong-Fan <w3ndong.fan@gmail.com>
2026-02-02 01:12:15 +08:00
..
.vscode Initial commit of eigent-main 2025-08-12 01:16:39 +02:00
app refactor: fix note taking toolkit minor bug and refactor toolkit listen (#1091) 2026-02-02 01:12:15 +08: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 refactor: rename social media and add pre-commit (#1113) 2026-02-01 23:53:41 +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(?!\])