suharvest
suharvest
### Before submitting - [x] I have searched the existing feature requests and did not find the same proposal. ### Affected device or area protocol (MQTT + UDP audio), All...
## 🐛 问题描述 在 `core/providers/llm/ollama/ollama.py` 的初始化实现中存在两处兼容性缺陷: 1. **`api_key` 被硬编码为 `"ollama"`**: ```python self.client = OpenAI( base_url=self.base_url, api_key="ollama", # 此处硬编码,完全忽略了 config 中传入的 api_key ) ``` 在实际生产或内网环境中,如果 Ollama 部署在反向代理、API 网关(如 Istio Envoy /...
### Self Checks / 自检 - [x] I have read the [FAQ](https://github.com/farion1231/cc-switch#faq) section in README. 我已阅读 README 中的[常见问题](https://github.com/farion1231/cc-switch#常见问题)。 - [x] I have searched for [existing issues](https://github.com/farion1231/cc-switch/issues), including closed ones. 我已搜索过[已有的...