You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi @rm-openai I create a PR to solve this issue.
If using reasoning model, it will yield reasoning_content before yield content. It'll yield a title before yield the real content so the user can split the content and reasoning content. Another way is add a <think></think> tag.
Need your opinion.
openai-agents-python/src/agents/models/openai_chatcompletions.py
Lines 210 to 213 in 01f5e86
在以上代码的位置需要添加处理reasoning_content的流式响应信息事件,或者添加能够添加自定义事件处理程序
示例:
The text was updated successfully, but these errors were encountered: