暖心向阳
暖心向阳
功能描述 接口地址[通义万相](https://help.aliyun.com/zh/dashscope/developer-reference/tongyi-wanxiang/) 跟DALL.E接口类似,兼容支持下 应用场景 文字生成图片
openai SDK版本:1.27.0 使用openai 官方的key,代码可以正常执行,但是如果使用open assistant api的key和base_url,代码执行错,报错截图如下:  相关代码如下: `import time import json assistant_api_key = "" assistant_base_url="" assistantApiClient=OpenaI( api_key=assistant_api_key, # 如果您没有配置环境变量,请在此处用您的API Key进行替换 base_url=assistant_base_url, ) def get_current_weather(location): return f"{location}今天是雨天。 " if __name__...
### Confirm this is an issue with the Python library and not an underlying OpenAI API - [ ] This is an issue with the Python library ### Describe the...