lobehub / lobe-chat

🤯 Lobe Chat - an open-source, modern-design AI chat framework. Supports Multi AI Providers( OpenAI / Claude 3 / Gemini / Ollama / Azure / DeepSeek), Knowledge Base (file upload / knowledge management / RAG ), Multi-Modals (Vision/TTS) and plugin system. One-click FREE deployment of your private ChatGPT/ Claude application.
https://chat-preview.lobehub.com
Other
40.14k stars 9.12k forks source link

[Bug] 配置OLLAMA_MODEL_LIST后必须手动刷新一次才生效 #3173

Open htdohk opened 2 months ago

htdohk commented 2 months ago

📦 部署环境

Vercel, Docker

📌 软件版本

v1.2.14

💻 系统环境

Windows, macOS, Android

🌐 浏览器

Chrome

🐛 问题描述

无论是Docker还是Vercel,配置OLLAMA_MODEL_LIST字段为“-all,+qwen2:7b-instruct-q4_0“,清空浏览器缓存后重新进入看到Ollama模型选项为空,必须重新在模型列表中点一次重置,才能刷出正确的模型。 企业微信截图_16dd49ed-631c-4c99-9f9e-60047304e6a2 企业微信截图_a117fcd6-4006-48ea-b466-67fec29b01b3 企业微信截图_e81eb810-1117-4bee-aca5-a8cf3f8a6363

📷 复现步骤

No response

🚦 期望结果

No response

📝 补充信息

No response

lobehubbot commented 2 months ago

👀 @htdohk

Thank you for raising an issue. We will investigate into the matter and get back to you as soon as possible. Please make sure you have given us as much context as possible.\ 非常感谢您提交 issue。我们会尽快调查此事,并尽快回复您。 请确保您已经提供了尽可能多的背景信息。