




















agno的Conversational Workflows是一个比较有意思的功能,可以让workflow 也可以agent化,这样workflow 就不简单智能通过step 集成agent了,这样对于workflow 的执行就有了一些ai 的决策了(以前模式也支持,只是方向不一样)
可以看到会基于历史进行一些决策处理

from agno.workflow import WorkflowAgent
from agno.workflow.workflow import Workflow
from agno.models.openai import OpenAIResponses
workflow_agent = WorkflowAgent(
model=OpenAIResponses(id="gpt-5.2"), # Set the model that should be used
num_history_runs=4 # How many of the previous runs should it take into account
)
workflow = Workflow(
name="Story Generation Workflow",
description="A workflow that generates stories, formats them, and adds references",
agent=workflow_agent,
)
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。