alipay / agentUniverse

agentUniverse is a LLM multi-agent framework that allows developers to easily build multi-agent applications.
Apache License 2.0
573 stars 66 forks source link

curl service return openai related invalid_api_key error, while explicitly set llm to qwen #61

Closed takkaman closed 1 month ago

takkaman commented 1 month ago

image

I try to use default demo_llm which is vis open ai, but curl hang with no response. Then I try to use qwen_llm as set above, but system still return openai related error, did I modify yaml correctly?

Also another question, any sample to use agent via qwen_llm? Should I still need to provide some kind of key or something else?

Thanks.

weizjajj commented 1 month ago

The Qwen large model is compatible with the OpenAI API. please refer: https://help.aliyun.com/zh/dashscope/developer-reference/compatibility-of-openai-with-dashscope/?spm=a2c4g.11186623.0.i3