refactor: 移除 relay 服务中的 model 参数,Dify /chat-messages 不需要此字段

This commit is contained in:
2026-04-22 16:18:44 +08:00
parent 5722c75536
commit 69d948de88
3 changed files with 5 additions and 14 deletions

View File

@@ -35,7 +35,7 @@ curl http://localhost:8000/health
curl -X POST http://localhost:8000/v1/chat/completions \
-H "Content-Type: application/json" \
-d '{
"model": "your-model",
"model": "dify",
"messages": [{"role": "user", "content": "你好"}]
}'
```