unrealise

Results 2 comments of unrealise

我也遇到了同样的异常输出,0.6和0.7版都有,经调试是LLM输出超长被截断所致,通过修改源代码——在调用LLM时传入参数max_tokens解决: ![Image](https://github.com/user-attachments/assets/d2947d4b-8930-4677-a904-05f0d5e5d098) ![Image](https://github.com/user-attachments/assets/74394327-c72e-487a-a845-fb092aeec11b) 从response截取json串时也应处理被截断情况: ![Image](https://github.com/user-attachments/assets/273e1f31-eef7-4308-959a-2606e112656f)

缺陷分析:调用方对入参数据结构没有统一,易抛异常 修复:要么统一,要么在该方法内部对多种结构做统一处理,以及增加异常处理 ![Image](https://github.com/user-attachments/assets/afcc533a-1c79-444e-aa34-15e076e44d33)