mirror of
https://github.com/xtekky/gpt4free.git
synced 2025-12-24 13:07:53 +08:00
- Changed `DEFAULT_MODEL` from `"o1"` to `"gpt-4o"` in `etc/tool/commit.py` - Replaced `FALLBACK_MODELS` list with an empty list in `etc/tool/commit.py` - Moved spinner stop logic inside content-checking block in `generate_commit_message` in `etc/tool/commit.py` - Trimmed trailing characters "` \n" from returned content in `generate_commit_message` in `etc/tool/commit.py` - Wrapped cache check in `g4f/gui/server/api.py` in a `try` block to catch `RuntimeError` - Ensured fallback to `version.utils.latest_version` if cache access fails in `g4f/gui/server/api.py