Commit Graph

5 Commits

  • Python: Added thread to AgentRunContext (#1732)
    * Added thread to agent run context
    
    * Added sample
    
    * Update python/samples/getting_started/middleware/thread_behavior_middleware.py
    
    Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
    
    * Small fix
    
    ---------
    
    Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
  • Python: Added chat middleware and more examples (#883)
    * Added example with stateful middleware
    
    * Added chat middleware
    
    * Updated middleware example with override scenario
    
    * Small revert
    
    * Small fixes
    
    * Added kwargs to context objects
    
    * Added README
    
    * Added function middleware to chat client
    
    * Small refactoring
    
    * Reverted example files
    
    * Made MiddlewareWrapper generic
    
    * Added Middleware exception
    
    * Small refactoring
    
    * Small fix
  • Python: [BREAKING] updated structure and samples (#875)
    * updated structure and samples
    
    * updated names and removed cross tests
    
    * updated projects etc
    
    * updated tests
    
    * updated test
    
    * test fixes
    
    * removed devui for now
    
    * updated all-tests task
    
    * removed old style configs
    
    * remove coverage from tests
    
    * updated to unit tests with all-tests
    
    * updated foundry everywhere
    
    * fix azure ai tests
    
    * fix merge tests
    
    * fix mypy
  • Python: Extending middleware capabilities (#844)
    * Implemented termination
    
    * Added termination sample
    
    * Allowed middleware pipeline modification
    
    * Added run-level middleware
    
    * Added more validation to function-based middleware
    
    * Added example with function-based decorator approach
    
    * Update python/samples/getting_started/middleware/decorator_middleware.py
    
    Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
    
    * Update python/samples/getting_started/middleware/decorator_middleware.py
    
    Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
    
    * Small improvements
    
    * Fixed tests
    
    ---------
    
    Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
  • Python: Agent and Function middleware (#770)
    * Initial middleware implementation
    
    * Small fixes
    
    * Small updates
    
    * Small updates in samples
    
    * Moved middleware functionality to decorator
    
    * Removed obsolete file
    
    * Renamed AgentInvocationContext to AzureRunContext
    
    * Added unit tests
    
    * Small settings update for test discovery in VS Code
    
    * Added unit tests
    
    * Reverted changes in environment settings
    
    * Added context result override
    
    * Renaming and updates to logic
    
    * Added more samples
    
    * Updated DEV_SETUP.md
    
    * Addressed PR feedback
    
    * Addressed PR feedback
    
    * Removed unused parameter
    
    * Small fix
    
    * Small fix in telemetry logic
    
    * Revert "Small fix in telemetry logic"
    
    This reverts commit 6f82660d2d.
    
    * Small fix
    
    ---------
    
    Co-authored-by: Chris <66376200+crickman@users.noreply.github.com>