feat: add Agnes AI as default provider, support multi-provider switching

- Default provider changed from Zhipu to Agnes AI (agnes-2.0-flash)
- Add --provider flag: agnes (default), zhipu, custom
- Add AGNES_API_KEY env var support (still compatible with ZHIPU_API_KEY)
- Add provider presets system for easy switching between AI backends
- Add .gitignore to prevent config.json with API keys from being committed
- Update usage examples

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
xieyao
2026-06-29 18:58:26 +08:00
parent ee03467993
commit 2df5e871dc
3 changed files with 52 additions and 10 deletions

1
.gitignore vendored
View File

@@ -7,3 +7,4 @@ config.json
# Temp files
doc_update.json
config.json