Skip to content

Conversation

@Shreyas-Microsoft
Copy link
Contributor

Purpose

This pull request introduces significant updates to the application's agent management and logging mechanisms, as well as improvements to SQL query handling and error management. The changes primarily focus on adding support for a new SQL agent, enhancing logging for debugging purposes, and improving cleanup processes during application shutdown and agent deletion.

Agent Management Enhancements:

  • src/App/app.py: Added initialization and cleanup logic for a new SQL agent during application startup and shutdown. Improved error handling and logging during the shutdown process to ensure agents are properly cleaned up.
  • src/App/backend/agents/agent_factory.py: Introduced a new _sql_agent attribute in AgentFactory and implemented methods to initialize and delete the SQL agent. Added detailed logging and error handling during agent deletion for wealth advisor, search, and SQL agents. [1] [2]

Logging Improvements:

SQL Query Handling:

Application Context Updates:

Codebase Maintenance:

Does this introduce a breaking change?

  • Yes
  • No

Golden Path Validation

  • I have tested the primary workflows (the "golden path") to ensure they function correctly without errors.

Deployment Validation

  • I have validated the deployment process successfully and all services are running as expected with this change.

What to Check

Verify that the following are valid

  • ...

Other Information

@Roopan-Microsoft Roopan-Microsoft merged commit 4f6e907 into dev Jul 29, 2025
5 checks passed
@Roopan-Microsoft Roopan-Microsoft deleted the psl-sqlagent-management branch July 29, 2025 13:00
@github-actions
Copy link

🎉 This PR is included in version 1.8.0 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

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