mirror of
https://github.com/microsoft/agent-framework.git
synced 2026-06-16 21:04:09 +08:00
40e90c96c3
* Add declarative HttpRequestAction support to workflows * Clean up response body for diagnostics and fix tests. * Fix merge with main. * Remove redundant fallback for request content headers.
16 lines
359 B
YAML
16 lines
359 B
YAML
kind: Workflow
|
|
trigger:
|
|
|
|
kind: OnConversationStart
|
|
id: my_workflow
|
|
actions:
|
|
|
|
- kind: HttpRequestAction
|
|
id: http_request
|
|
method: GET
|
|
url: =Concatenate("https://api.example.test/items/", System.LastMessageText)
|
|
headers:
|
|
Accept: application/json
|
|
response: Local.HttpResult
|
|
responseHeaders: Local.HttpHeaders
|