Skip to content

refactor: Upgrade agent framework to latest version - #335

Merged
Prajwal-Microsoft merged 4 commits into
devfrom
psl-agent-framework-migration
Aug 7, 2026
Merged

refactor: Upgrade agent framework to latest version#335
Prajwal-Microsoft merged 4 commits into
devfrom
psl-agent-framework-migration

Conversation

@NirajC3-Microsoft

@NirajC3-Microsoft NirajC3-Microsoft commented Aug 7, 2026

Copy link
Copy Markdown
Contributor

Purpose

This pull request removes two Python scripts (create_assistants.py and list_assistants.py) related to Azure AI Foundry assistants, deletes the orders_plugin.py and reference_plugin.py plugins, and updates several dependencies and logging configurations. The changes primarily focus on cleaning up unused or deprecated code, updating dependencies for compatibility, and minor improvements to logging.

Major removals:

  • Removed the create_assistants.py and list_assistants.py scripts, which were used for programmatically creating and listing Azure AI Foundry assistants. [1] [2]
  • Deleted the orders_plugin.py and reference_plugin.py files, which contained plugins for order management and reference document lookup, respectively. [1] [2]

Dependency and configuration updates:

  • Updated the azure-ai-projects dependency to require version >=2.3.0 in requirements.txt for compatibility with recent code changes.
  • Changed the import for AzureAIProjectAgentProvider to use the new package path agent_framework.azure instead of agent_framework_azure_ai in foundry_agent_utils.py.
  • Updated .flake8 configuration to ignore warning E226 in addition to previous ignores.

Logging and minor code improvements:

  • Adjusted logging configuration in main.py to set the log level for azure.ai.projects instead of the previously used logger.
  • Minor code formatting and consistency improvements, such as fixing argument formatting in chat.py.
  • Removed a placeholder comment from the plugins/__init__.py file.

Does this introduce a breaking change?

  • Yes
  • No

How to Test

  • Get the code
git clone [repo-address]
cd [repo-name]
git checkout [branch-name]
npm install
  • Test the code

What to Check

Verify that the following are valid

  • ...

Other Information

This comment was marked as resolved.

Copilot AI review requested due to automatic review settings August 7, 2026 08:14

This comment was marked as outdated.

Copilot AI review requested due to automatic review settings August 7, 2026 09:56

This comment was marked as outdated.

Copilot AI review requested due to automatic review settings August 7, 2026 12:05

This comment was marked as resolved.

@Prajwal-Microsoft
Prajwal-Microsoft merged commit 6a213e5 into dev Aug 7, 2026
9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants