zys-997z

Results 1 comments of zys-997z

> 根据 openai 官方,fc 已经弃用了。 经过我自己的测试,我发现当使用chatGLM3的fc功能时需要将extract.ts和classifyQuestion.ts中的 response?.choices?.[0]?.message?.tool_calls?.[0]?.function?.arguments || '{}' 替换为 response?.choices?.[0]?.message?.function_call?.arguments || '{}' 才可使用,否则会一直返回空字段,可能chatGLM3返回的response的json结构与openai的不同,不知作者能否将这个小适配加入到工程中