Update V1 to V2 migration tool for Foundry Agent Service guidance#617
Closed
Update V1 to V2 migration tool for Foundry Agent Service guidance#617
Conversation
|
👋 Thanks for your interest in contributing, @leestott! This repository does not accept pull requests directly. If you'd like to report a bug, suggest an improvement, or propose a new sample, please open an issue instead. See CONTRIBUTING.md for more details. |
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.
Title
Update V1 to V2 migration tool for Foundry Agent Service guidance
Summary
This PR updates the migration solution to align the V1 to V2 migration flow with the current Microsoft Foundry Agent Service model. The migration target now uses versioned agent creation via
create_version, validates migrated agents with conversations plus responses, and removes reliance on legacy assistant runtime patterns.What Changed
PromptAgentDefinitionpayloads andAIProjectClient.agents.create_version(...).project.get_openai_client()with conversations and responses rather than threads, runs, or legacy messages.Behavioral Notes
Validation
11 passed.bash -npassed.Known Limitations