stream model will report simulated streaming failed during non-streaming call
#166 opened on May 8, 2025
Repository metrics
- Stars
- (7,532 stars)
- PR merge metrics
- (PR metrics pending)
Description
as below `[root@k8s-test ~]# kubectl-ai --llm-provider=openai --model=qwen3-235b-a22b
Hey there, what can I help you with today?
show me all deployment in the deafult namespace E0508 11:30:21.562983 32248 openai.go:249] OpenAI ChatCompletion API error: POST "https://dashscope.aliyuncs.com/compatible-mode/v1/chat/completions": 400 Bad Request {"code":"invalid_parameter_error","param":null,"message":"This model only support stream mode, please enable the stream parameter to access the model. ","type":"invalid_request_error"} Error: simulated streaming failed during non-streaming call: OpenAI chat completion failed: POST "https://dashscope.aliyuncs.com/compatible-mode/v1/chat/completions": 400 Bad Request {"code":"invalid_parameter_error","param":null,"message":"This model only support stream mode, please enable the stream parameter to access the model. ","type":"invalid_request_error"}
exit [root@k8s-test ~]# kubectl-ai --llm-provider=openai --model=qwen-plus
Hey there, what can I help you with today?
show me all deployment in the deafult namespace Running: kubectl get deployments -n deafult`