Commit Graph

9 Commits

  • Python: [BREAKING] cleanup of thread API and serialization (#893)
    * cleanup of threads and serialization
    
    * fix for sliding window
    
    * fix redis test
    
    * updated from comments
    
    * updated context provider and threads
    
    * updated lock
    
    * add asyncio default
    
    * fix redis tests
    
    * fix tests
    
    * fix tests
    
    * renamed to invoking
    
    * fixed tests
    
    * fix for instructions
  • 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: 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: Introducing UserInputRequest and Response types and HostedMcpTool (#405)
    * initial work on User Approval (and hosted mcp to validate)
    
    * small update to the comments in the sample
    
    * enable local MCP tools in chatClient get methods
    
    * working streaming and improved setup
    
    * fix for pyright
    
    * updated create_approval -> create_response method
    
    * added tests
    
    * updated HostedMcpTool and addressed feedback
    
    * update type name
    
    * naming updates
    
    * small docstring update
    
    * mypy fix
    
    * fixes and updates
    
    * fixes for responses
    
    * fix int tests
    
    * removed broken tests
    
    * updated test running
    
    * removed specific content check on websearch
    
    * increased timeout
    
    * split slow foundry test
    
    * don't parallel run samples
    
    * add dist load to unit tests
    
    ---------
    
    Co-authored-by: Eric Zhu <ekzhu@users.noreply.github.com>
  • 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: added AIAnnotation types and extra tests (#374)
    * added AIAnnotation types and extra tests
    
    * fixed typing and such
    
    * use copy
    
    * fix raw representation for add
    
    * handle annotations in add
    
    * clarified concat
    
    * self to first
  • Python: Azure chat client (#185)
    * updated openai, fcc works, with sample
    
    * reduced files in openai
    
    * Add azure chat client
    
    * fix tests
    
    * Update python/packages/main/tests/unit/test_openai_chat_completion_base.py
    
    Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
    
    * Update python/packages/azure/agent_framework/azure/__init__.py
    
    Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
    
    * Update python/packages/azure/agent_framework/azure/_azure_openai_settings.py
    
    Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
    
    * PR comments
    
    * fix bad merge
    
    * disable tests for now
    
    * actually disable tests for azure
    
    * fix tests, align test files with merge changes
    
    * update code for new project structure
    
    * PR comments
    
    * add streaming integration tests. Fix flakiness
    
    ---------
    
    Co-authored-by: eavanvalkenburg <github@vanvalkenburg.eu>
    Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
  • Python: OpenAI Connector (#144)
    * Initial checkin of openai connector
    
    * add tests
    
    * extensions work
    
    * chat completion client implicitly implementing ChatClient
    
    * remove AIServiceClientBase
    
    * remove PromptExecutionSettings
    
    * consolidate chat completion types
    
    * add integration test
    
    * fix pre-commit check errors
    
    * remove usage statistics from OpenAIHandler
    
    * Update python/extensions/agent-framework-openai/agent_framework/openai/exceptions.py
    
    Co-authored-by: Dmytro Struk <13853051+dmytrostruk@users.noreply.github.com>
    
    * PR comments
    
    * fix merge
    
    * fix test import
    
    * remove tests for now because they just fail
    
    * Remove fixed TODO
    
    ---------
    
    Co-authored-by: Dmytro Struk <13853051+dmytrostruk@users.noreply.github.com>
  • 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