mirror of
https://github.com/infiniflow/ragflow.git
synced 2026-08-15 05:04:27 +08:00
fix: unable to chat after set model (#16195)
### What problem does this PR solve? ``` fixed: RAGFlow(api/default)> use model 'minimax-m2.5@test@minimax' SUCCESS RAGFlow(api/default)> chat message 'who r u' Answer: Hey! I'm MiniMax-M2.5, an AI assistant here to help you with questions, tasks, or whatever you need. What can I do for you? Time: 1.727263 ``` ### Type of change - [x] Bug Fix (non-breaking change which fixes an issue)
This commit is contained in:
@@ -324,19 +324,19 @@ Time: 1.680416
|
||||
|
||||
### 6.19. Set, reset, and list default models
|
||||
```
|
||||
RAGFlow(api/default)> set default chat model 'zhipu-ai/test/glm-4.5-flash';
|
||||
RAGFlow(api/default)> set default chat model 'glm-4.5-flash@test@zhipu-ai';
|
||||
SUCCESS
|
||||
RAGFlow(api/default)> set default vision model 'zhipu-ai/test/glm-4.5v';
|
||||
RAGFlow(api/default)> set default vision model 'glm-4.5v@test@zhipu-ai';
|
||||
SUCCESS
|
||||
RAGFlow(api/default)> set default embedding model 'zhipu-ai/test/embedding-2';
|
||||
RAGFlow(api/default)> set default embedding model 'embedding-2@test@zhipu-ai';
|
||||
SUCCESS
|
||||
RAGFlow(api/default)> set default rerank model 'zhipu-ai/test/rerank';
|
||||
RAGFlow(api/default)> set default rerank model 'rerank@test@zhipu-ai';
|
||||
SUCCESS
|
||||
RAGFlow(api/default)> set default ocr model 'zhipu-ai/test/glm-ocr';
|
||||
RAGFlow(api/default)> set default ocr model 'glm-ocr@test@zhipu-ai';
|
||||
SUCCESS
|
||||
RAGFlow(api/default)> set default tts model 'zhipu-ai/test/glm-tts';
|
||||
RAGFlow(api/default)> set default tts model 'tts@test@zhipu-ai';
|
||||
SUCCESS
|
||||
RAGFlow(api/default)> set default asr model 'zhipu-ai/test/glm-asr-2512';
|
||||
RAGFlow(api/default)> set default asr model 'glm-asr-2512@test@zhipu-ai';
|
||||
SUCCESS
|
||||
RAGFlow(api/default)> list default models;
|
||||
+--------+----------------+---------------+----------------+------------+
|
||||
|
||||
Reference in New Issue
Block a user