Closed xuanmiss closed 3 months ago
修改dashscope_model中的DashScopeWrapperBase在初始化模型配置时没有判空就将api_key赋值给了dashscope.api_key,导致dashscope模型配置中使用env的api_key时报错
Please check the following items before code is ready to be reviewed.
当配置dashscope模型api_key从env中获取时,被覆盖为None
name: Fix the bug of DashScopeWrapperBase api_key about: 当配置dashscope模型api_key从env中获取时,被覆盖为None
Description
修改dashscope_model中的DashScopeWrapperBase在初始化模型配置时没有判空就将api_key赋值给了dashscope.api_key,导致dashscope模型配置中使用env的api_key时报错
Checklist
Please check the following items before code is ready to be reviewed.