You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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。我们会尽快调查此事,并尽快回复您。 请确保您已经提供了尽可能多的背景信息。
To resolve the issue with setting the default agent configuration in the "lobe-chat" application, ensure that the DEFAULT_AGENT_CONFIG environment variable is formatted correctly. The correct format should use forward slashes to separate the provider and model, like this:
To resolve the issue with setting the default agent configuration in the "lobe-chat" application, ensure that the DEFAULT_AGENT_CONFIG environment variable is formatted correctly. The correct format should use forward slashes to separate the provider and model, like this:
DEFAULT_AGENT_CONFIG='provider=xai/model=grok-beta'
This format should help the application recognize and apply the default agent settings as intended without requiring additional manual selection [1].
no,I set with docker-compose.yml file contain the content:
DEFAULT_AGENT_CONFIG: "provider=xai;model=grok-beta;params.max_tokens=1200;chatConfig.historyCount=0;chatConfig.enableMaxTokens=true;chatConfig.enableAutoCreateTopic=false;chatConfig.enableCompressThreshold=true;chatConfig.enableHistoryCount=true;"
but it still doesn't work
📦 部署环境
Docker
📦 部署模式
客户端模式(lobe-chat 镜像)
📌 软件版本
docker last
💻 系统环境
Ubuntu
🌐 浏览器
Chrome
🐛 问题描述
I set environment section:
DEFAULT_AGENT_CONFIG:
with both:
model=grok-beta;provider=XAI;
but when i run the compose,the default agent setting did not work as set:
the default agent refer to gpt-4o-mini but not expect xai/grok-beta
📷 复现步骤
the whole settings:
services: lobe-chat: image: lobehub/lobe-chat container_name: lobegrok restart: always ports: - '9023:3210' environment: DEFAULT_AGENT_CONFIG: "model=grok-beta;provider=XAI;params.max_tokens=1200;chatConfig.historyCount=0;chatConfig.enableMaxTokens=true;chatConfig.enableAutoCreateTopic=false;chatConfig.enableCompressThreshold=true;chatConfig.enableHistoryCount=true;" FEATURE_FLAGS: "-language_model_settings,-openai_api_key,-openai_proxy_url,-check_updates,-market,-speech_to_text,-knowledge_base,-clerk_sign_up,-edit_agent" ENABLED_OPENAI: 0 ENABLED_OLLAMA: 0 XAI_API_KEY: "xai-yHW*****7jRT" XAI_MODEL_LIST: -all,+grok-beta<1200> ACCESS_CODE: mememe
🚦 期望结果
I wanna the default page implement default xai/grok-beta as settings without extra click-choose setting
📝 补充信息
No response
The text was updated successfully, but these errors were encountered: