mirror of
https://github.com/eigent-ai/eigent.git
synced 2026-05-24 05:26:42 +00:00
Cache the latest ARIA snapshot text and use it to resolve internal ref IDs (e.g. "e621") to human-readable element descriptions (e.g. 'button "Submit"') in action payloads. Falls back to other readable args (text, value, url) when ref can't be resolved. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| .vscode | ||
| app | ||
| benchmark | ||
| camel | ||
| camel_logs/17afdc62-1f02-4817-b14d-d1163fff96fd | ||
| lang | ||
| scripts | ||
| tests | ||
| .gitignore | ||
| .pre-commit-config.yaml | ||
| .python-version | ||
| babel.cfg | ||
| cli.py | ||
| image.png | ||
| main.py | ||
| messages.pot | ||
| pyproject.toml | ||
| README.md | ||
| uv.lock | ||
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(?!\])