* consolidate lab packages into a single one; update contribution guidelines
* update dep list
* add poe tasks; fix tests and lint erros
* add lab tests for CI
* fix test
* update root pyproject.toml
* 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
* Magentic checkpoint wip
* Magentic checkpoint updates
* Support checkpointing for magentic orchestration.
* Checkpointing for sub-workflows
* Use _execute_contexts instead of _pending_requests
* Remove unnecessary type ignores
* Support checkpoints for other orchestrations, refactor some code.
* Regenerate uv.lock
* Further observability cleanup and update telemetry samples
* Add VS Code Extension config
* Fix unit tests
* Fix unit tests
* Add more comments
* Remove live metric
* removed intercepts_request and simplified how interception is handled
* parameterize SubWorkflowRequestInfo
* revert back the field rename of RequestResponse
* remove duplicate tests
* ignore type error
* remove SubWorkflowResponse
* Remove SubWorkflowRequestInfo and update RequestInfoMessage with source_executor_id for correlation
* Improve type utils
* Add sample
* Add Union
* Add more test cases
* Add more test cases
* Fix RequestResponse typing to only coerce mapping original_request
---------
Co-authored-by: Evan Mattson <evan.mattson@microsoft.com>
* Setting up
* Readme
* Add redis tests path to all-tests
* First pass integration
* Keep provider convention
* First pass integration
* add redis integration tests
* update README.md
* Add basic sample for redis integration
* Add partitioning, add partition-aware tests, improve sample script
* Fix code quality check
* Try to resolve pytest check
* Try to identify if pytest is the cause of failed checks
* Re-enable tests
* Rename redis test file
* Removing some tests to narrow down issue
* Revert, no difference
* Delete temp files
* Starting refactor of RedisProvider
* Build dynamic schema builder, still need to do dynamic embedding model config
* Add scope control
* Complete first pass functionality with OpenAI + HF vectors -> Tests, Samples, Demo to follow
* Fix code quality
* attempt to identify rootcause of failed test
* attempt to identify rootcause of failed test
* Attempt to resolve code quality fail
* Update pyproject.toml for foundry to pin azure-ai-projects == 1.1.0b3,azure-ai-agents == 1.2.0b3
* Add tests for redisprovider
* Remove invalid tests
* Add API key handling for openai vectorizer
* Update uv.locl
* Use master uv.lock
* Begin sample file, add lazy index creation, fix faulty override
* Index drop and reinit depends on drop_redis_index not overwrite
* Add samples, threading included, escaped queries, verify threading works, sample README.md
* Refactor filters
* Opinionated vars
* Allow filter expression combination
* Try inline stubs for mypy
* Address mypy errors
* Better docstrings, tweaks for feedback
* Tweak example 3 in redis_threads.py sample
* adjust confusing name
* Enrich docstrings
* Add descriptions and comments to samples, externalize vectorizer choice, remove nltk and sentencetransformers dependnecy
* Add descriptions and comments to samples, externalize vectorizer choice, remove nltk and sentencetransformers dependnecy
* Incorporate initial feedback from dmytrostruk
* Fix uv.lock
* Attempt to resolve conflict
* Use remote .tomls
* Sanity check
* fix tests
* Remove hardcoded API key from samples
* Fix incorrect env var
* Make add and redis_search private
* Fix tests relying on private funcs
* Expand tests
* Explainer comments to each test
* Add a 'get_conversation_history' function to RedisProvider - This just returns messages in sequential order. Added 'created_at_*' timestamps to facilitate sequential recovery. function has to be manually invoked by user
* Add agent-framework-redis to python/pyproject.toml
* Remove get_conversation_history
* improve redis context provider with pydantic techniques and safe index handling patterns
* add RedisChatMessageStore
* remove integration test :(
* fix mypy error
* Remove unused params
* Redo schema validation to be order-invariant, handle attrs (previously throwing errors due to strict ==)
* Expand explanation
* Add ChatMessageStore example
* Fix comments in redis_conversation.py
* Resolving uv.lock conflict, update to match main
* Fix test in redis provider
* Apply suggestion from @ekzhu
* Update python/packages/main/pyproject.toml
---------
Co-authored-by: Tyler Hutcherson <tyler.hutcherson@redis.com>
Co-authored-by: Eric Zhu <ekzhu@users.noreply.github.com>
* Fix options_dict handling in response client
* Update python/packages/main/agent_framework/openai/_responses_client.py
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
* Update condition for storing chat options
Fixes issue where, when using server-side threads, AF would pass back the function call message due to store being in chat_options in kwargs, not at the kwargs level. Means the appending of only the tool execution result never happens.
Resulted in a "tool output not found error" as we replied with the call not the result first.
* Refactor chat_options access for clarity
* Refactor store option assignment in responses client
* Small fixes
---------
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Dmytro Struk <13853051+dmytrostruk@users.noreply.github.com>
* 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>