Skip to content

Conversation

@Zhenyi-Wang
Copy link

@Zhenyi-Wang Zhenyi-Wang commented Sep 16, 2024

当调用FastGPT等OpenAI兼容接口进行工具调用时,返回的reply.content为数组,造成can only concatenate str (not "list") to str报错。

增加了判断逻辑,检测到数组时,先将其合并为string。

相关issues:
#2111
#2131
#2137
#2274
#2275

@FEEHarrison
Copy link

优秀

@Zhenyi-Wang
Copy link
Author

没办法,两个项目的灰色地带,只好自己改了。。😂

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants