.NET Workflows - Fix converation behaviors for declarative worfklows (#1237)

* Updated

* Passing

* Ready

* Update dotnet/tests/Microsoft.Agents.AI.Workflows.Declarative.IntegrationTests/Workflows/ConversationMessages.yaml

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* Comment

* Code analysis

* Unit-tests/provider signature

* Comment

* Consistent

---------

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
This commit is contained in:
Chris
2025-10-06 22:04:41 +00:00
committed by GitHub
co-authored by Copilot
parent f1694b0507
commit f81b4a5abe
28 changed files with 202 additions and 138 deletions
-7
View File
@@ -14,13 +14,6 @@ trigger:
id: workflow_demo
actions:
- kind: AddConversationMessage
id: add_input_message
conversationId: =System.ConversationId
content:
- type: Text
value: {System.LastMessage.Text}
- kind: InvokeAzureAgent
id: invoke_analyst
conversationId: =System.ConversationId
-11
View File
@@ -31,22 +31,11 @@ trigger:
id: workflow_demo
actions:
- kind: SetVariable
id: set_project
variable: Local.InputTask
value: =UserMessage(System.LastMessageText)
- kind: InvokeAzureAgent
id: question_student
conversationId: =System.ConversationId
agent:
name: =Env.FOUNDRY_AGENT_STUDENT
input:
messages: =Local.InputTask
- kind: ResetVariable
id: reset_project
variable: Local.InputTask
- kind: InvokeAzureAgent
id: question_teacher