需要在 JS 中进行程序化代理切换和工具调用(延迟和中断问题)

作者: azartalent创建于 2025年8月22日更新于 2025年8月22日

我们在 ReactJS 中使用 @OpenAI/agents-realtime。 目前,工具调用(showCurrentAgent、agentComplete 等)和代理切换必须通过指令处理。

内容来源: openai/openai-realtime-agents