Skip to content

RuntimeError: async generator ignored GeneratorExit #55

@chenbyby

Description

@chenbyby

2025-02-26 17:39:06 - DeepClaude - INFO - DeepSeek 推理完成,收集到的推理内容长度:1354
2025-02-26 17:39:06 - DeepClaude - ERROR - deepseek_client GeneratorExit:
2025-02-26 17:39:06 - DeepClaude - INFO - DeepSeek 任务处理完成,标记结束
Exception ignored in: <async_generator object DeepSeekClient.stream_chat at 0x105371790>
Traceback (most recent call last):
File "/Users/bytedance/Downloads/repo/github/deepclaude2/app/openai_composite/openai_composite.py", line 115, in process_deepseek
break
RuntimeError: async generator ignored GeneratorExit
Exception ignored in: <async_generator object BaseClient._make_request at 0x105371b80>
Traceback (most recent call last):
File "/Users/bytedance/Downloads/repo/github/deepclaude2/app/openai_composite/openai_composite.py", line 115, in process_deepseek
break
RuntimeError: async generator ignored GeneratorExit

how to avoid GeneratorExit?

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingquestionFurther information is requested

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions