mirror of
https://github.com/microsoft/agent-framework.git
synced 2026-06-16 21:04:09 +08:00
aab621f5eb
* Fix tool normalization and provider samples - restore callable/single-tool normalization paths and unset tool-choice behavior\n- consolidate and expand chat/provider samples (OpenAI/Azure/Anthropic/Ollama/Bedrock)\n- migrate Bedrock lazy import surface to agent_framework.amazon and move provider samples Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> * small fix in sample * Finalize provider, samples, and core cleanup Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> * Fix CopilotTool passthrough in agent Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> * fix link --------- Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
aab621f5eb
ยท
2026-02-16 16:30:38 +00:00
History
Foundry Local Examples
This folder contains examples demonstrating how to run local models with FoundryLocalClient via agent_framework.microsoft.
Prerequisites
-
Install Foundry Local and required local runtime components.
-
Install the connector package:
pip install agent-framework-foundry-local --pre
Examples
| File | Description |
|---|---|
foundry_local_agent.py |
Basic Foundry Local agent usage with streaming and non-streaming responses, plus function tool calling. |
Environment Variables
FOUNDRY_LOCAL_MODEL_ID: Optional model alias/ID to use by default whenmodel_idis not passed toFoundryLocalClient.