Repository navigation
Python: Update Python Foundry hosted agent samples to use new "-t" (template) deployment instead of deprecated -m - #9402
Draft
Darren Cohen (dargilco) wants to merge 1 commit into
Conversation
Darren Cohen (dargilco)
temporarily deployed
to
github-app-auth
October 14, 2026 23:11 — with
GitHub Actions
Inactive
Darren Cohen (dargilco)
temporarily deployed
to
github-app-auth
October 14, 2026 23:11 — with
GitHub Actions
Inactive
Contributor
There was a problem hiding this comment.
🟡 Changes recommended
The replacement template omits model provisioning required by the documented fresh-project setup.
1 open finding
What changed in this PR
Migrates the basic Python Foundry hosted-agent sample from deprecated manifest-based initialization to template-based deployment.
Changes:
- Adds
azure.yamland removes the basic sample’s legacy manifests. - Updates initialization commands to use
-tand revises deployment guidance.
| File | Description |
|---|---|
python/samples/04-hosting/foundry-hosted-agents/responses/basic/README.md |
Documents template-based initialization. |
python/samples/04-hosting/foundry-hosted-agents/responses/basic/azure.yaml |
Defines the Foundry project and hosted agent. |
python/samples/04-hosting/foundry-hosted-agents/responses/basic/agent.yaml |
Removes the legacy agent configuration. |
python/samples/04-hosting/foundry-hosted-agents/responses/basic/agent.manifest.yaml |
Removes the legacy deployment manifest. |
python/samples/04-hosting/foundry-hosted-agents/README.md |
Updates shared deployment and protocol guidance. |
🧠 Review effort: Balanced
💡 Add a code-review agent skill for context-aware, tailored reviews. Learn more in the docs.
Comment on lines
+5
to
+6
| ai-project: | ||
| host: azure.ai.project |
This branch was previously deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

Motivation & Context
Description & Review Guide
Related Issue
Fixes #
AI Assistance
AI assistance details:
Contribution Checklist
breaking changelabel (or add "[BREAKING]" to the title prefix, before or after any language prefix) — a workflow keeps the label and title prefix in sync automatically.