tian-minghui / openai-style-api

支持将openai、claude、azure openai, gemini,kimi, 智谱AI,通义千问,讯飞星火API等模型服务方的调用转为openai方式调用。屏蔽不同大模型API的差异,统一用openai api标准格式使用大模型(Shield the differences between different large model APIs and use large models in a unified openai API standard format)
MIT License
328 stars 55 forks source link

部分内容不适配当前版本langchain #4

Closed 14daisy closed 8 months ago

14daisy commented 8 months ago

langchain版本 0.0.345 星火大模型时需要将adapters/xunfei_spark.py中的delta替换为message才能在langchain中正常使用。

tian-minghui commented 8 months ago

3q, fixed