eigent/backend
Phives 6776a90a6f
feat(file_utils): robust path handling and safe directory listing (#1195)
Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: bytecii <bytecii@users.noreply.github.com>
2026-02-22 01:41:18 -08:00
..
.vscode chore: fix pre commit format and pipeline issue (#1144) 2026-02-04 08:06:29 +08:00
app feat(file_utils): robust path handling and safe directory listing (#1195) 2026-02-22 01:41:18 -08:00
benchmark benchmark: update benchmark (#1207) 2026-02-12 16:35:18 +08:00
lang chore: fix pre commit format and pipeline issue (#1144) 2026-02-04 08:06:29 +08:00
scripts Feat skills (#1221) 2026-02-19 02:29:21 +08:00
tests feat(file_utils): robust path handling and safe directory listing (#1195) 2026-02-22 01:41:18 -08:00
.gitignore test: add basic benchmark (#1138) 2026-02-05 01:15:55 -08:00
.pre-commit-config.yaml benchmark: update benchmark (#1207) 2026-02-12 16:35:18 +08:00
.python-version chore: upgrade backend Python to 3.11 (#1142) 2026-02-05 05:24:52 +08:00
babel.cfg chore: fix pre commit format and pipeline issue (#1144) 2026-02-04 08:06:29 +08:00
cli.py chore: fix pre commit format and pipeline issue (#1144) 2026-02-04 08:06:29 +08:00
main.py chore: fix pre commit format and pipeline issue (#1144) 2026-02-04 08:06:29 +08:00
messages.pot chore: fix pre commit format and pipeline issue (#1144) 2026-02-04 08:06:29 +08:00
pyproject.toml chore: update camel version 2026-02-21 17:01:29 +08:00
README.md Initial commit of eigent-main 2025-08-12 01:16:39 +02:00
uv.lock chore: update camel version 2026-02-21 17:01:29 +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(?!\])