mirror of
https://github.com/microsoft/agent-framework.git
synced 2026-06-16 21:04:09 +08:00
6d0f28eb9b
* Investigate * Next * Update initialization * Should be ok * Agent definition dx * Link agent definitions * Link agent definitions * Path resolution #2 * Fix path resolution * Another pass * Another * Better * One more * Whoopsie * Update dotnet/tests/Microsoft.Agents.AI.Workflows.Declarative.IntegrationTests/Framework/AgentFactory.cs Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> * Namespace * Cleanup * Temp config for pipeline * Another temp workaround * Test config: Bing Grounding Tool * Update template * Next pass * Ok now * Cleanup * Test note --------- Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
63 lines
1.8 KiB
YAML
63 lines
1.8 KiB
YAML
type: foundry_agent
|
|
name: ResearchWeather
|
|
description: Demo agent for DeepResearch workflow
|
|
model:
|
|
id: ${FOUNDRY_MODEL_DEPLOYMENT_NAME}
|
|
tools:
|
|
- type: openapi
|
|
id: GetCurrentWeather
|
|
description: Retrieves current weather data for a location based on wttr.in.
|
|
options:
|
|
specification: |
|
|
{
|
|
"openapi": "3.1.0",
|
|
"info": {
|
|
"title": "Get weather data",
|
|
"description": "Retrieves current weather data for a location based on wttr.in.",
|
|
"version": "v1.0.0"
|
|
},
|
|
"servers": [
|
|
{
|
|
"url": "https://wttr.in"
|
|
}
|
|
],
|
|
"paths": {
|
|
"/{location}": {
|
|
"get": {
|
|
"description": "Get weather information for a specific location",
|
|
"operationId": "GetCurrentWeather",
|
|
"parameters": [
|
|
{
|
|
"name": "location",
|
|
"in": "path",
|
|
"description": "City or location to retrieve the weather for",
|
|
"required": true,
|
|
"schema": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
],
|
|
"responses": {
|
|
"200": {
|
|
"description": "Successful response",
|
|
"content": {
|
|
"text/plain": {
|
|
"schema": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"404": {
|
|
"description": "Location not found"
|
|
}
|
|
},
|
|
"deprecated": false
|
|
}
|
|
}
|
|
},
|
|
"components": {
|
|
"schemas": {}
|
|
}
|
|
}
|