Skip to content

Conversation

Roopan-Microsoft
Copy link
Collaborator

Purpose

  • ...

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

Fr4nc3 and others added 30 commits August 11, 2025 15:24
…e AI Foundry

- Add POST /api/upload_team_config endpoint for team configuration management
- Implement FoundryAgentService for bulk agent creation with error handling
- Add comprehensive RAI validation for all uploaded content
- Add team selection UI with search, delete, and validation features
- Add model deployment and search index validation services
Introduces DataToolService to provide access to specific CSV datasets via new tools: data_provider and show_tables. Updates the factory and service registration to include the new service and adds the DATA domain to the Domain enum. This enables controlled access to allowed data files for the MCP server.
Moved data files to new locations, added new backend app.py, and introduced v3 MCP server modules with supporting services, configuration, and orchestration. Updated documentation for Docker MCP server testing and Azure AI Foundry project reuse. Improved deployment guides and infrastructure outputs for better environment configuration.
Deleted multiple CSV and JSON files containing various datasets such as competitor pricing, customer churn, marketing engagement, loyalty program, subscription benefits, access attempts, incident reports, feedback surveys, customer profiles, service interactions, delivery metrics, product returns, product table, purchase history, sentiment analysis, store visits, and website activity logs. This change may be part of a data cleanup or migration process.
Introduced multiple new datasets covering customer profiles, purchase history, churn analysis, feedback, service interactions, loyalty program, marketing engagement, competitor pricing, product returns, delivery metrics, social media sentiment, store visits, unauthorized access attempts, warehouse incidents, and website activity logs. These datasets support comprehensive analysis for customer behavior, operational performance, and competitive benchmarking.
Renamed test_fastmcp_run.py from src/backend/v3/mcp_server/ to src/tests/mcp_server/ to improve test organization and maintain consistency in the project structure.
Moved model and search validation logic from app_kernel.py into JsonService, consolidating related methods and removing redundant service classes. Updated endpoints to use JsonService for model and search validation, and improved configuration handling. Added DATASET_PATH to .env.example.
Deleted imports for OnboardingOrchestrationManager and MagenticScenarios from app_kernel.py as they are not used in the file.
Deleted markdown documentation for scenario upload and team config validation, as well as example scenario JSON files and RAI failure test files. These files are no longer needed or have been superseded by updated documentation and test cases.
Upgraded Vitest, @vitest/ui, @vitest/expect, @vitest/snapshot, @vitest/utils, and related packages to v3.2.4. Updated chai to v5.2.1 and removed unused @jest/schemas and @sinclair/typebox dependencies. This improves compatibility with newer Node versions and brings in latest bug fixes and features.
Moved configuration, authentication, models, services, and utility modules from src/backend to src/backend/common for better organization and modularity. Updated all imports throughout the backend to reflect the new structure. Removed obsolete files including app_config.py, config_kernel.py, and several validation and test modules that are now redundant or replaced by the new structure.
Refactored API endpoints for team configuration and plan management from app_kernel.py to v3/api/router.py, consolidating related logic under the new app_v3 router with '/api/v3' prefix. Removed redundant imports and endpoint definitions from app_kernel.py, improving code organization and separation of concerns.
Replaces the AgentTypeString type with the AgentType enum throughout the codebase for improved type safety and consistency. Updates related interfaces, utility functions, and service methods to use AgentType directly. Also updates the create_plan API endpoint path.
Replaced usage of deprecated database models with direct references to message models in CosmosDB implementation. Refactored app_kernel.py to use DatabaseFactory for memory store initialization, removing dependency on initialize_runtime_and_context. Deleted obsolete files: CustomizeSolution.md, database_models.py, and several __init__.py and handler files. Cleaned up and streamlined CosmosDBClient methods for session, plan, step, and team configuration management.
Replaced direct os.getenv calls with values from the central AppConfig instance for Application Insights, Azure Search, and Azure AI settings. This improves maintainability and consistency in configuration management across backend modules. Removed unused kernel creation method from AppConfig.
Replaced environment variable usage with config value for model deployment name in json_service.py. Removed unused agent imports and the get_agents function from utils_kernel.py to clean up code and dependencies.
Centralizes Azure configuration and access token retrieval in AppConfig, removing duplicate logic from JsonService and v3/config/settings.py. Updates environment sample and settings to use new config properties and methods for improved maintainability and consistency.
Moved Azure credential logic from common.auth.azure_credential_utils.py into AppConfig, removing the utility module and updating all references to use AppConfig's methods. Deleted the CosmosMemoryContext implementation in context/cosmos_memory_kernel.py. Cleaned up unused imports and updated credential usage in affected modules for consistency.
Refactored the format_dates_in_messages function from app_kernel.py to common/utils/utils_date.py for better modularity and reuse. Updated imports to reflect the new location.
Introduces a new 'services' module under v3/common with BaseAPIService, MCPService, and FoundryService for async HTTP and Azure AI Foundry interactions. Updates AppConfig to support an optional MCP server endpoint and fixes credential method references. These changes provide a foundation for modular service access and easier integration with MCP and Foundry APIs.
Fr4nc3 and others added 28 commits September 4, 2025 19:05
Reformatted imports and function definitions for better readability and PEP8 compliance. Improved error handling, added missing line breaks, and standardized docstrings. No functional changes were made; this is a code style and maintainability update.
Moved PlanApprovalRequest and PlanApprovalResponse interfaces to models for reuse. Updated API service and PlanPage to consistently use v3 plan approval endpoints and removed legacy session ID logic. Simplified clarification and approval submission logic to use the v3 API directly.
Replaces all instances of plan_dot_id with m_plan_id in backend and frontend code for plan approval requests and responses. Updates data models, API handlers, WebSocket service, and related logic to ensure consistent naming and compatibility with v3 backend.
Moved plan-related utility methods (isPlanComplete, getStepsForAgent, getStepsAwaitingFeedback, getPlanCompletionPercentage) from APIService to PlanDataService for better separation of concerns. Updated TaskService to use PlanDataService for plan completion checks. Removed redundant methods from APIService.
The OnApproveStep prop was removed from PlanPanelRight and its usage in PlanPage, as it is no longer needed. This cleans up the component interface and related code.
Replaces all usage of ParsedPlanData with MPlanData across components, services, and models for consistency. Removes unused TaskDetails.tsx file and updates related type references and function signatures to match the new naming convention.
Added try/except blocks to handle errors during plan approval processing in both router.py and human_approval_manager.py. Updated plan assignment logic to avoid direct dictionary mutation and improved logging for error cases.
update documentation for team configuration and sample data processing
Added new scripts `Team-Config-And-Data.ps1` and `team_config_and_data.sh`  to upload team configurations and process sample data.
@Dhruvkumar-Microsoft Dhruvkumar-Microsoft deleted the psl-waf-macaev3 branch September 24, 2025 05:28
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.

9 participants