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
44.95k stars 10.12k forks source link

[Request] 添加默认助手使用的模型环境变量 #4735

Closed AquaHydro closed 6 days ago

AquaHydro commented 6 days ago

🥰 需求描述

当我配置ENABLED_OPENAI为0时,系统默认助手仍默认选择openai下的模型。造成不能生成相关的对话总结等信息。

image

🧐 解决方案

是否可以提供类似DEFAULT_AGENT_CONFIG环境变量,让默认助手也能自定义默认模型

📝 补充信息

No response

lobehubbot commented 6 days ago

👀 @AquaHydro

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。我们会尽快调查此事,并尽快回复您。 请确保您已经提供了尽可能多的背景信息。

hezhijie0327 commented 6 days ago

使用 SYSTEM_AGENT 环境变量

SYSTEM_AGENT="agentMeta=zhipu/glm-4-flash,historyCompress=zhipu/glm-4-flash,queryRewrite=zhipu/glm-4-flash,topic=zhipu/glm-4-flash,translation=zhipu/glm-4-flash"
lobehubbot commented 6 days ago

✅ @AquaHydro

This issue is closed, If you have any questions, you can comment and reply.\ 此问题已经关闭。如果您有任何问题,可以留言并回复。

AquaHydro commented 5 days ago

@hezhijie0327 已解决,感谢

lobehubbot commented 5 days ago

Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑‍🤝‍🧑👫🧑🏿‍🤝‍🧑🏻👩🏾‍🤝‍👨🏿👬🏿


@hezhijie0327 Solved, thanks