mirror of
https://github.com/CherryHQ/cherry-studio.git
synced 2025-12-26 03:31:24 +08:00
* fix: ollama url * feat: add Ollama provider integration and update dependencies * fix: update Ollama provider handling and API host formatting * feat: support Ollama Cloud * test: formatOllamaApiHost * chore * fix: update Ollama provider check to use isOllamaProvider function * fix: address PR review issues for Ollama provider Critical fixes: - Fix regex escape bug: /\v1$/ → /\/v1$/ in OpenAIBaseClient.ts - Add comprehensive error handling for Ollama fetch API (network errors, non-200 responses, invalid JSON) Minor improvements: - Fix inconsistent optional chaining in formatOllamaApiHost - Add null check in migration 180 for undefined state.llm.providers All checks passed: lint, typecheck, tests (2313 tests) 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com> --------- Co-authored-by: suyao <sy20010504@gmail.com> Co-authored-by: Claude <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| main | ||
| preload | ||
| renderer | ||