- Introduce WorkflowAgentStage to manage agent stage configurations and enhance interaction with the workflow engine. - Implement WorkflowEdgeEvaluator for priority-aware edge evaluation, improving routing decisions based on conditions and user turns. - Update WorkflowBrain to handle user turns and routing more effectively, ensuring agents cannot have only one default path. - Enhance CallEndCoordinator to track speech events and manage call termination based on queued speech. - Add new models and output handling for workflow interactions, improving clarity and maintainability. - Update tests to validate the new routing logic and agent behavior under various scenarios.
282 B
282 B
你编写具有可维护性、高可读性、可扩展性、模块化的的代码 适合CS的本科学生阅读修改 尽量不去对pipecat框架本身修改 以MVP构建为目标 编写代码之前先用易于理解的语言说清楚思路 界面设计要参考 frontend/DESIGN.md