GoogleCloudPlatform/kubectl-ai

stream model will report simulated streaming failed during non-streaming call

Aperta

#166 aperta il 8 mag 2025

 (15 commenti) (0 reazioni) (0 assegnatari)Go (708 fork)auto 404
good first issue

Metriche repository

Star
 (7532 stelle)
Metriche merge PR
 (Metriche PR in attesa)

Descrizione

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`

Guida contributor