Commit Graph

25 Commits

  • Python: Telemetry and observability follow-up (#833)
    * updated telemetry work
    
    * updated telemetry
    
    * slight improvement
    
    * updated tests
    
    * fixes for telemetry
    
    * fixes for mypy
    
    * added settings setup to runner to avoid error
    
    * streamline usage
    
    * updated tests
    
    * updated tests
    
    * further refinement
    
    * fix dumped item for otel
    
    * removed enable_workflow_otel
    
    * final fixes
    
    * final fixes
    
    * updated samples
    
    * removed exporters
    
    * fix tests
    
    * fixed last import'
    
    * fixed devui
  • Python: Introduce as_tool() for BaseAgent (#684)
    * introduce as_tool for BaseAgent
    
    * fix types
    
    * fix tests
    
    * add async callback support
    
    * address comments
    
    * Update python/packages/main/agent_framework/_agents.py
    
    Co-authored-by: Eduard van Valkenburg <eavanvalkenburg@users.noreply.github.com>
    
    * address comments
    
    ---------
    
    Co-authored-by: Eduard van Valkenburg <eavanvalkenburg@users.noreply.github.com>
  • Python: OpenAI Responses Image Generation Tool (#842)
    * Image generation + Added Samples
    
    * extended image gen tool for responses
    
    * uv fix
    
    * removed hosted image gen
    
    * copilot suggestions
    
    * Update python/packages/main/agent_framework/openai/_responses_client.py
    
    Co-authored-by: Dmytro Struk <13853051+dmytrostruk@users.noreply.github.com>
    
    ---------
    
    Co-authored-by: Dmytro Struk <13853051+dmytrostruk@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>
  • Python: Added Copilot Studio Agent (#722)
    * Small fix in dotnet conformance tests
    
    * Added CopilotStudioAgent implementation
    
    * Added examples
    
    * Updated package README
    
    * Small fixes
    
    * Small improvements
    
    * Fixed dotnet tests
    
    * Add unit tests
    
    * Updated tests
    
    * Small updates
    
    * Small test fixes
    
    * Revert "Small test fixes"
    
    This reverts commit 983ac44a70.
    
    * Small fixes in documentation
    
    * Updated test configuration
    
    * Revert "Updated test configuration"
    
    This reverts commit 2a16fea815.
    
    * Small fix
    
    * Reverted TODO item
    
    * Small suppressions
    
    * More fixes
    
    * Small fixes
    
    * Fixed tests
    
    * Removed disallow_any_unimported rule in all packages
    
    * Fixes
  • Python: Context providers abstraction and Mem0 implementation (#631)
    * Added context provider abstractions
    
    * Added mem0 implementation
    
    * Example and small fixes
    
    * Added unit tests for agent
    
    * Added unit tests for mem0 provider
    
    * Updated README
    
    * Small doc updates
    
    * Update python/packages/mem0/agent_framework_mem0/_provider.py
    
    Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
    
    * Small fixes in tests
    
    * Renaming based on PR feedback
    
    * Small fixes
    
    * Added tests for AggregateContextProvider
    
    * Small improvements
    
    * More improvements based on PR feedback
    
    * Small constant update
    
    * Added more examples
    
    * Added README for Mem0 examples
    
    * Small updates to API
    
    * Updated initialization logic
    
    * Updates for context manager
    
    * Updated Context class
    
    * Dependency update
    
    * Revert changes
    
    * Fixed tests
    
    ---------
    
    Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
    Co-authored-by: Chris <66376200+crickman@users.noreply.github.com>
  • Python: Improved telemetry setup (#421)
    * test with stack and simplified names
    
    * quick demo of agent decorator
    
    * moved builder to protocol to enhance functionality
    
    * undid chatclientAgent -> agent rename
    
    * one more
    
    * reverted AIAgent rename
    
    * final reverts
    
    * fixed foundry import
    
    * revert changes
    
    * streamlined otel and fcc decorators
    
    * cleanup of telemetry
    
    * further refinement
    
    * lots of updates
    
    * fixed typing
    
    * fix for mypy
    
    * added input and output atttributes
    
    * fix import
    
    * initial work on baking in otel
    
    * major update to telemetry
    
    * final fixes after rename
    
    * fix
    
    * fix test
    
    * updated tests
    
    * fix for tests
    
    * fixes for tests
    
    * updated based on comments
    
    * removed agent decorator
    
    * fix for Python: ServiceResponseException when using multiple tools
    Fixes #649
    
    * addressed comments
    
    * fix tests
    
    * fix tests
    
    * fix tools tests
    
    * fix for conversation_id in assistants client
    
    * fix responses test
    
    * fix tests and mypy
    
    * updated test
    
    * foundry fix
    
    ---------
    
    Co-authored-by: Chris <66376200+crickman@users.noreply.github.com>
  • Python: name changes executed (#607)
    * name changes executed
    
    * updated adr to accepted
    
    * renamed openai base config
    
    * renamed openai config to mixin
    
    * added renames in user docs
    
    * reverted mcperror
    
    * fix tests
    
    * remove sse from tests
  • Python: Thread storage and serialization (#394)
    * Updates for message store support
    
    * Added unit tests
    
    * Added suspend-resume example
    
    * Added example with custom chat message store
    
    * Small fix
    
    * Addressed PR feedback
    
    * Renaming and documentation
    
    * More renaming
    
    * Addressed more PR feedback
    
    * Small fixes in Foundry chat client and examples
    
    * Small update
    
    * Addressed PR feedback
    
    * Increased timeout for Azure tests
  • Python: Introducing Local MCP Servers (#389)
    * mcp parts
    
    * mcp parts 2
    
    * removed structured output in favor of handling in chatresponse, mcp as AITool and running samples
    
    * updated naming
    
    * fixed test
  • Python: openai updates (#388)
    * openai updates
    
    * rebuild of openai structure
    
    * updated responses structure
    
    * renamed sample
    
    * added file id support to code interpreter
    
    * added hosted file ids to code interpretor
    
    * mypy fixes
    
    * removed default az cred from codebase
    
    * updated agent name setup
    
    * added kwargs to entra methods
    
    * and further kwargs
    
    * extra comment
    
    * updated all samples
    
    * readded custom get methods for responses
    
    * updated int tests with ad credential
    
    * missed one
  • Python: small fixes in foundry (#297)
    * small fixes in foundry
    
    * other samples updated
    
    * make it optional
    
    * added instructions and response format to create agent
    
    * mypy fix
    
    * shortened main readme and improved python readme
  • Python: add agent telemetry (#283)
    * add agent telemetry
    
    * updated comments
    
    * update AgentRunResponseUpdate
    
    * updated create_agent var
    
    ---------
    
    Co-authored-by: Chris <66376200+crickman@users.noreply.github.com>
  • Python: updated API in sync with dotnet (#269)
    * updated API in sync with dotnet
    
    * fix test
    
    * updated name and display_name
    
    * fixed mypy setup
    
    * add pre-commit cache
  • Python: Added fixes and more examples for OpenAI and Azure chat client agents (#232)
    * Added non-streaming and streaming examples
    
    * Updated resource management
    
    * Added examples with thread management
    
    * Added function tools examples
    
    * Small rename
    
    * Added code interpreter example
    
    * Updated example
    
    * Addressed PR feedback
    
    * Added more OpenAI and Azure chat completion examples
    
    * File renaming
    
    * Small fix in tests
    
    * Small revert
    
    * More renaming
    
    * Small fix
  • Python: Added fixes and more examples for Foundry agent (#217)
    * Added non-streaming and streaming examples
    
    * Updated resource management
    
    * Added examples with thread management
    
    * Added function tools examples
    
    * Small rename
    
    * Added code interpreter example
    
    * Updated example
    
    * Addressed PR feedback
    
    * Addressed PR feedback
  • Python: Implemented FoundryChatClient (#193)
    * Initial version of FoundryChatClient
    
    * Updates to the tool call streaming wrapper
    
    * Small fixes
    
    * Small updates and addressed PR feedback
    
    * Handle automatic client creation
    
    * Small improvement
    
    * Added credential parameter
    
    * Small improvements
    
    * Made FoundryChatClient disposable
    
    * Small fixes
    
    * Added unit tests
    
    * Refactored samples
    
    * Small improvements
    
    * Small fix
    
    * Addressed PR feedback
    
    * Small fixes
    
    * Small updates
    
    * Small fix
    
    * Addressed PR feedback
  • Python: improved loading (#202)
    * improved loading
    
    * updated openai folder imports
    
    * fixed import
  • Python: simple Agent sample (#180)
    * tweaks to agents and sample
    
    * updated clients and agents
    
    * single line run and print
    
    * improved tool handling
    
    * added note on setting max iterations
    
    * fixed streaming param name
    
    * updated tools test
    
    * made kwargs alphabetical
    
    * added params to run methods
    
    * tweak to ensure right overload
  • Python: Added ChatClientAgentThread and ChatClientAgent implementations (#150)
    * Added ChatClientAgentThread
    
    * Initial version of ChatClientAgent
    
    * Completed ChatClientAgent
    
    * Small fixes and unit tests
    
    * Fixes based on pre-commit
    
    * Small fixes
    
    * Small renaming
    
    * Small improvement
    
    * Small fixes
    
    * Addressed PR feedback
    
    * Small fix
    
    * Added method for AgentRunResponse from streaming conversion
    
    * Addressed PR feedback
    
    * Addressed PR feedback
    
    * Addressed PR feedback
    
    * Small fix
    
    * More fixes
  • Python: Added AgentRunResponse and AgentRunResponseUpdate types (#157)
    * Removed instructions property from Agent
    
    * Added AgentRunResponse and AgentRunResponseUpdate types
    
    * Added unit tests for agent response types
    
    * Small fix
    
    * Addressed PR feedback
    
    * Small improvement
    
    * Small fix
  • Python: added ChatClientBase with function calling (#147)
    * added ChatClientBase with function calling
    
    * streaming update
    
    * fixed typing
    
    * test setup
    
    * small update
    
    * src setup
    
    * removed src, updated test naming
    
    * fixed test command
    
    * alolow args
    
    * updated test run
    
    * added unit test folder to azure
    
    * added init and unit test to azure
    
    * added other cross tests
    
    * restructured
    
    * reset test run
    
    * fix name
    
    * removed always
    
    * updated test
    
    * extend pytest.xml locations
    
    * run surface always
    
    * added decorators for FC and marked tests
    
    * fixed mypy settings and added tests
    
    * fix override import
    
    * removed import