loliw

Results 6 comments of loliw

> 您好,我遇到了相同的问题,请问您解决了吗? nope:( 我最终选择在单机上用z3模式,起码他能跑起来

> 您好,我遇到了相同的问题,请问您解决了吗? 不:( 我最终选择在单机上用z3模式,起码他能跑起来

C:\Users\11238\.conda\envs\aisearch\lib\site-packages\lagent\agents\stream.py:212: UserWarning: Neither plugin nor interpreter executor is initialized. An exception will be thrown when the agent call a tool. warnings.warn( INFO: 127.0.0.1:65137 - "POST /solve HTTP/1.1" 200 OK response...

> C:\Users\11238.conda\envs\aisearch\lib\site-packages\lagent\agents\stream.py:212: UserWarning: Neither plugin nor interpreter executor is initialized. An exception will be thrown when the agent call a tool. warnings.warn( INFO: 127.0.0.1:65137 - "POST /solve HTTP/1.1" 200 OK...

> 你使用的哪种渠道?很大概率是 αopenaistyle。KeyError: 'finish_reason'。 或者是openai_style.py没有那么全。 你使用的oneapi吗? 如图所示,我使用的是oneapi的qwen2:7b-instruct-fp16,openai_style.py是直接复制的项目294的文件 ![1739323591882(1)](https://github.com/user-attachments/assets/cc3134e1-0836-4c8e-bfbb-e5da26a7505a) 另外在test_gptstyleapi文件中,是可以正常返回结果的 ![1739325308262](https://github.com/user-attachments/assets/b7b61b99-ff58-4721-beb4-7872f6eaf961) 感觉可能是流式输出的时候没有finish字段,所以我在openai_style.py中将代码修改为 finish_reason = choice.get('finish_reason') if finish_reason and finish_reason == 'stop': return 模型可以输出 但是当进行创建图和节点的时候会进行报错 ERROR:root:An error occurred while generating the response....

hi, I also encountered this problem, how to solve this problem, can you share the code :)