mirror of
https://github.com/microsoft/agent-framework.git
synced 2026-06-16 21:04:09 +08:00
23 lines
472 B
YAML
23 lines
472 B
YAML
#
|
|
# This workflow demonstrates an agent that requires tool approval
|
|
# in a loop responding to user input.
|
|
#
|
|
# Example input:
|
|
# What is the soup of the day?
|
|
#
|
|
kind: Workflow
|
|
trigger:
|
|
|
|
kind: OnConversationStart
|
|
id: workflow_demo
|
|
actions:
|
|
|
|
- kind: InvokeAzureAgent
|
|
id: invoke_search
|
|
conversationId: =System.ConversationId
|
|
agent:
|
|
name: MenuAgent
|
|
input:
|
|
externalLoop:
|
|
when: =Upper(System.LastMessage.Text) <> "EXIT"
|