d402d92a47
Bump pyasn1 from 0.6.1 to 0.6.2 in /python ( #3257 )
...
Bumps [pyasn1](https://github.com/pyasn1/pyasn1 ) from 0.6.1 to 0.6.2.
- [Release notes](https://github.com/pyasn1/pyasn1/releases )
- [Changelog](https://github.com/pyasn1/pyasn1/blob/main/CHANGES.rst )
- [Commits](https://github.com/pyasn1/pyasn1/compare/v0.6.1...v0.6.2 )
---
updated-dependencies:
- dependency-name: pyasn1
dependency-version: 0.6.2
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-01-21 12:56:40 +00:00
Giles Odigwe and GitHub
88e0ee1a2c
Python: Fix local MCP tools with AzureAIProjectAgentProvider ( #3315 )
...
* azureai v2 local mcp fix
* addressed copilot comments
2026-01-21 12:43:05 +00:00
77236bf0ec
Bump tomli from 2.3.0 to 2.4.0 in /python ( #3182 )
...
Bumps [tomli](https://github.com/hukkin/tomli ) from 2.3.0 to 2.4.0.
- [Changelog](https://github.com/hukkin/tomli/blob/master/CHANGELOG.md )
- [Commits](https://github.com/hukkin/tomli/compare/2.3.0...2.4.0 )
---
updated-dependencies:
- dependency-name: tomli
dependency-version: 2.4.0
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-01-21 05:38:12 +00:00
Evan Mattson and GitHub
6d7690e485
Python: fix(ag-ui): properly handle json serialize with handoff workflows as agent ( #3275 )
...
* fix(ag-ui): properly handle json serialize with handoff workflows as agent
* Other improvements around handling non-serializable objects
2026-01-21 02:43:14 +00:00
Evan Mattson and GitHub
6b5437e4ec
Python: fix(core): handle anyio cancel scope errors during MCP connection cleanup ( #3277 )
...
* fix(core): handle anyio cancel scope errors during MCP connection cleanup
* Address Copilot feedback
2026-01-21 01:49:07 +00:00
Eduard van Valkenburg and GitHub
83e6229c11
Python: [Breaking] Simplified Content types to a single class with classmethod constructors. ( #3252 )
...
* ported Content to a new model
* fixed linting
* fixes
* fixed data format handling
* fix for 3.10 mypy
* fix
* fix int test
2026-01-20 22:09:39 +00:00
f8c84d4ee6
Python: Fix: Add system_instructions to ChatClient LLM span tracing ( #3164 )
...
* Fix: Add system_instructions to ChatClient LLM span tracing
- Add system_instructions parameter to _capture_messages() calls in
_trace_get_response() and _trace_get_streaming_response()
- Extract instructions from chat_options in kwargs
- Add unit tests to verify system_instructions are captured correctly
When using ChatClient with ChatOptions.instructions, the OpenTelemetry
LLM span was missing system messages in gen_ai.input.messages and the
gen_ai.system_instructions attribute was not being set.
This fix aligns the ChatClient-level tracing with the Agent-level
tracing which already correctly passes system_instructions.
Fixes #3163
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com >
* Add edge case tests for system_instructions
- Add test for empty string instructions (should not set attribute)
- Add test for list-type instructions (verify multiple items captured)
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com >
* Simplify: use options.get('instructions') directly instead of kwargs.get('chat_options')
Addresses reviewer feedback:
- Removed unnecessary chat_options variable from kwargs
- Directly access instructions from the options parameter
- Updated tests to use dict syntax for options (TypedDict convention)
---------
Co-authored-by: Claude Opus 4.5 <noreply@anthropic.com >
2026-01-20 14:04:31 +00:00
8ee379d344
Bump tar from 7.4.3 to 7.5.3 in /python/packages/devui/frontend ( #3267 )
...
Bumps [tar](https://github.com/isaacs/node-tar ) from 7.4.3 to 7.5.3.
- [Release notes](https://github.com/isaacs/node-tar/releases )
- [Changelog](https://github.com/isaacs/node-tar/blob/main/CHANGELOG.md )
- [Commits](https://github.com/isaacs/node-tar/compare/v7.4.3...v7.5.3 )
---
updated-dependencies:
- dependency-name: tar
dependency-version: 7.5.3
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-01-20 07:26:34 +00:00
2a43caefaa
Bump ruff from 0.14.11 to 0.14.13 in /python ( #3287 )
...
Bumps [ruff](https://github.com/astral-sh/ruff ) from 0.14.11 to 0.14.13.
- [Release notes](https://github.com/astral-sh/ruff/releases )
- [Changelog](https://github.com/astral-sh/ruff/blob/main/CHANGELOG.md )
- [Commits](https://github.com/astral-sh/ruff/compare/0.14.11...0.14.13 )
---
updated-dependencies:
- dependency-name: ruff
dependency-version: 0.14.13
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-01-20 07:26:06 +00:00
f54248b79f
Bump uv from 0.9.25 to 0.9.26 in /python ( #3288 )
...
Bumps [uv](https://github.com/astral-sh/uv ) from 0.9.25 to 0.9.26.
- [Release notes](https://github.com/astral-sh/uv/releases )
- [Changelog](https://github.com/astral-sh/uv/blob/main/CHANGELOG.md )
- [Commits](https://github.com/astral-sh/uv/compare/0.9.25...0.9.26 )
---
updated-dependencies:
- dependency-name: uv
dependency-version: 0.9.26
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-01-20 07:25:45 +00:00
Victor Dibia and GitHub
0f29637b86
fix #3171 , ensure proper form rendering for int ( #3201 )
2026-01-20 07:25:12 +00:00
Evan Mattson and GitHub
e0b9be7e08
Python: fix(declarative): Fix MCP tool connection not passed from YAML to Azure AI agent creation API ( #3248 )
...
* fix(declarative): Fix MCP tool connection not passed from YAML
* Add samples to README
* Fix mypy
* Fix mypy again
* Address PR comments
2026-01-20 07:24:20 +00:00
Dmytro Struk and GitHub
83e8965c8e
Python: [BREAKING] Make response_format validation errors visible to users ( #3274 )
...
* Make response_format validation errors visible to users
* Small fix
* Addressed comments
2026-01-19 17:20:46 +00:00
3243652df6
Python: Filter conversation_id when passing kwargs to agent as tool ( #3266 )
...
* Filter conversation_id when passing kwargs to agent as tool
* Small fix
* Update python/samples/getting_started/agents/azure_ai/README.md
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
* Update python/samples/getting_started/agents/openai/openai_responses_client_with_agent_as_tool.py
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
* Update python/samples/getting_started/agents/azure_ai/azure_ai_with_agent_as_tool.py
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
---------
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
2026-01-19 12:54:06 +00:00
Dmytro Struk and GitHub
915df3b404
Python: Added rai_config to Azure AI agent creation ( #3265 )
...
* Add kwargs to create_agent method
* Added test for kwargs
* Addressed comment
* Added doc string
2026-01-19 12:51:27 +00:00
Dmytro Struk and GitHub
f87e55ba33
Python: Fixed use_agent_middleware calling private _normalize_messages ( #3264 )
...
* Fix use_agent_middleware calling private _normalize_messages
* Fixed A2A and Copilot Studio agent
2026-01-19 12:50:14 +00:00
Dmytro Struk and GitHub
9bfa1a913c
Python: Fixed Azure chat client for asynchronous filtering ( #3260 )
...
* Fixed Azure chat client for asynchronous filtering
* Updated test
2026-01-19 12:49:23 +00:00
Giles Odigwe and GitHub
9e3b2fa09a
Python: Update package version ( #3258 )
...
* package version 260116
* removed name tags
2026-01-16 21:06:30 +00:00
Dmytro Struk and GitHub
5687e13221
Python: [BREAKING] Renamed create_agent to as_agent ( #3249 )
...
* Renamed create_agent to as_agent
* Override for as_agent
* Added override
2026-01-16 19:21:52 +00:00
Dmytro Struk and GitHub
b773830e4b
Create/Get Agent API - fixes and example improvements ( #3246 )
2026-01-16 04:36:34 +00:00
Hao Luo and GitHub
975884f32d
Python: (AG-UI) Support service-managed thread on AG-UI ( #3136 )
...
* added service thread support
* set service_thread_id to only supplied_thread_id
* uses raw_representation to extract the conversation_id
* removed accidental edit
* updated test to use raw_representation
* resolves copilot review feedback
* revert back StubAgent, since not used
* removed relative module import
* removed hasattr check per PR feedback
2026-01-16 03:28:13 +00:00
Dmytro Struk and GitHub
b5ca0c8eda
Python: Create/Get Agent API for OpenAI Assistants ( #3208 )
...
* Added provider implementation
* Added example with response format
* Small improvements
2026-01-15 22:52:32 +00:00
dd3e2b6e53
Bump azure-core from 1.37.0 to 1.38.0 in /python ( #3209 )
...
Bumps [azure-core](https://github.com/Azure/azure-sdk-for-python ) from 1.37.0 to 1.38.0.
- [Release notes](https://github.com/Azure/azure-sdk-for-python/releases )
- [Commits](https://github.com/Azure/azure-sdk-for-python/compare/azure-core_1.37.0...azure-core_1.38.0 )
---
updated-dependencies:
- dependency-name: azure-core
dependency-version: 1.38.0
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-01-15 22:25:41 +00:00
Dmytro Struk and GitHub
48d124efbe
Python: Create/Get Agent API for Azure V1 ( #3192 )
...
* Added provider implementation for Azure AI V1
* Small fixes
* Fixed OpenAPI example
* Fixed local MCP example
* Fixed hosted MCP example
* Fixed file search sample
* Small fixes
* Resolved comments
* Doc updates
2026-01-15 22:19:03 +00:00
Dmytro Struk and GitHub
6e9420f614
Updated DurableAIAgent and fixed integration tests ( #3241 )
2026-01-15 21:43:26 +00:00
Evan Mattson and GitHub
15d0c34d9f
Python: Properly configure structured outputs based on new options dict ( #3213 )
...
* Properly configure structured outputs based on new options dict
* Fix mypy
2026-01-15 11:41:46 +09:00
Evan Mattson and GitHub
620da7a829
Python: fix(ag-ui): add MCP tool support for AG-UI approval flows ( #3212 )
...
* add MCP tool support for AG-UI approval flows
* use attribute in place of property
2026-01-15 02:34:11 +00:00
Evan Mattson and GitHub
80b25a782b
fix(workflows): rename WorkflowOutputEvent.source_executor_id to executor_id for API consistency ( #3166 )
2026-01-15 02:11:25 +00:00
Evan Mattson and GitHub
ffe2e787ba
Python: fix(core): correct FunctionResultContent ordering in WorkflowAgent.merge_updates ( #3168 )
...
* fix(core): simplify FunctionResultContent ordering in WorkflowAgent.merge_updates
* improve comment
* Fix name
2026-01-15 01:54:44 +00:00
cb2862d4c3
update package versions ( #3223 )
...
Co-authored-by: Dmytro Struk <13853051+dmytrostruk@users.noreply.github.com >
2026-01-14 23:26:50 +00:00
Giles Odigwe and GitHub
9b9a0f178c
Python: Added AzureAI sample for downloading code interpreter generated files ( #3189 )
...
* added azure ai code interpreter file download sample
* copilot fix suggestions
* function name fixes + readme update
* small fix
2026-01-14 22:50:07 +00:00
Tao Chen and GitHub
6c956ec596
Python: Add more specific exceptions to Workflow ( #3188 )
...
* Add more specifc workflow exceptions
* Fix tests
* AI comments
* Misc
2026-01-14 20:10:52 +00:00
99c5718696
Python: Create/Get Agent API for Azure V2 ( #3059 )
...
* Added get_agent method to Azure AI V2
* Small fixes
* Small fix
* Removed AzureAIAgentProvider
* Added create_agent method
* Small fixes
* Fixed code interpreter tool mapping
* Added agent provider for V2 client
* Updated response format handling
* Added provider example
* Fixed errors
* Update python/samples/getting_started/agents/azure_ai/README.md
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
* Small fix
* Updates from merge
* Resolved comments
* Resolved comments
---------
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
2026-01-14 19:35:01 +00:00
Eduard van Valkenburg and GitHub
d8cf8361bd
renamed all ( #3207 )
2026-01-14 05:54:07 +00:00
Evan Mattson and GitHub
1ae0b09e42
Python: Add dependencies param to ag-ui FastAPI endpoint ( #3191 )
...
* Add dependencies param to ag-ui FastAPI endpoint
* Address Copilot feedback
2026-01-13 22:31:33 +00:00
Tao Chen and GitHub
0b152418b6
[BREAKING] Python: Refactor orchestrations ( #3023 )
...
* Group chat refactoring Part 1; Next: HIL and handoff
* Add agent approval flow; next samples
* WIP: samples
* WIP: HIL samples
* Group chat HIL working; next: handoff
* Fix group chat tool approval sample
* WIP: refactor handoff; next handoff handling
* Handoff done; next handoff samples and concurrent and sequential
* Handoff samples, concurrent, and sequential done; next Magentic
* WIP: magentic; next test with samples + HIL
* Magentic Working; next fix all samples and tests
* Fix handoff samples; next tests
* WIP: fixing tests; some orchestration as agent samples are failing
* Group chat unit tests done
* Handoff unit tests done
* Remove old orchestration_request_info and fix related tests
* Magentic unit tests done
* Fix samples
* Fix test
* Fix test 2
* mypy
* Address comments
* Update readme
* Address comments
* Address comments 2
* Replace display name
2026-01-13 18:40:26 +00:00
Eduard van Valkenburg and GitHub
3e97425245
Python: [BREAKING]: Introducing Options as TypedDict and Generic ( #3140 )
...
* WIP typeddict for options
* updated all clients and ChatAgents
* updated everything
* added ADR
* fix mypy
* proper typevar imports
* fixed import
* fixed other imports
* slight update in the sample
* updated from feedback
* fixes
* fixed missing covariants and test fixes
* fixed typing
* updated anthropic thinking config
* ruff fixes
* fixed int tests
* fix tests and mypy
* updated integration tests
* updated docstring and test fix
* improved options handling in obser
* mypy fix
* updated a host of integration tests
* fix tests
* bedrock fix
2026-01-13 16:41:05 +00:00
Evan Mattson and GitHub
9c094573e8
Python: Add declarative workflow runtime ( #2815 )
...
* Further support for declarative python workflows
* Add tests. Clean up for typing and formatting
* Improvements and cleanup
* Typing cleanup. Improve docstrings
* Proper code in docstrings
* Fix malformed code-block directive in docstring
* Remove dead links
* PR feedback
* Address PR feedback
* Address PR feedback
* Remove sl
* Update devui frontend
* More cleanup
* Fix uv lock
* Skip Py 3.14 tests as powerfx doesn't support it
* Fix mypy error
* Fix for tool calls
* Removed stale docstring
* Fix lint
* Standardize on .NET namespaces. Revert DevUI changes (bring in later)
* Implement remaining items for Python declarative support to match dotnet
2026-01-13 07:11:21 +00:00
Eduard van Valkenburg and GitHub
b2893fbc00
Python: MCP Improvements: improved connection loss behavior, pagination for loading and a param to control representation ( #3154 )
...
* pagination support (#2848 ) added a parse_tool_result param and connection loss (#2884 )
* fix #3153
* improved connection handling
* improved logic
2026-01-13 04:09:33 +00:00
Eduard van Valkenburg and GitHub
203fb7b1c4
Python: [BREAKING]: removed display_name, renamed context_providers, middleware and AggregateContextProvider ( #3139 )
...
* removed display_name, renamed context_providers, middleware and AggregateContextProvider
* fixes
* fixed test
* testfix
* removed mistakenly put back test
* updated new test
* rename middlewares to middleware
* middleware fixes
2026-01-13 02:24:07 +00:00
Giles Odigwe and GitHub
ef44fb4960
azureai direct a2a endpoint support ( #3127 )
2026-01-12 22:03:04 +00:00
e63c148fc7
Python: Fix MCPStreamableHTTPTool to use new streamable_http_client API ( #3088 )
...
* Fix MCPStreamableHTTPTool to use new streamable_http_client API with proper httpx client cleanup
Co-authored-by: eavanvalkenburg <13749212+eavanvalkenburg@users.noreply.github.com >
* Update docstring to reflect new streamable_http_client API usage
Co-authored-by: eavanvalkenburg <13749212+eavanvalkenburg@users.noreply.github.com >
* Refactor MCPStreamableHTTPTool to accept optional http_client parameter and delegate client creation to streamable_http_client
Co-authored-by: eavanvalkenburg <13749212+eavanvalkenburg@users.noreply.github.com >
* Update mcp package minimum version to 1.24.0 for streamable_http_client API support
Co-authored-by: eavanvalkenburg <13749212+eavanvalkenburg@users.noreply.github.com >
* Fix critical bugs: apply headers/timeout/sse_read_timeout when creating httpx client, add version constraint <2, and properly manage client lifecycle
Co-authored-by: eavanvalkenburg <13749212+eavanvalkenburg@users.noreply.github.com >
* Simplify implementation: remove headers/timeout/sse_read_timeout params, remove kwargs, remove close() override per feedback
Co-authored-by: eavanvalkenburg <13749212+eavanvalkenburg@users.noreply.github.com >
* Add back **kwargs parameter for backward compatibility (accepted but not used)
Co-authored-by: eavanvalkenburg <13749212+eavanvalkenburg@users.noreply.github.com >
* Remove unused httpx import from test file
Note: The uv.lock file needs to be updated with 'uv sync' to reflect the mcp version constraint change (>=1.24.0,<2)
Co-authored-by: eavanvalkenburg <13749212+eavanvalkenburg@users.noreply.github.com >
* cicd fixes
* udpated samples with headers examples
---------
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com >
Co-authored-by: eavanvalkenburg <13749212+eavanvalkenburg@users.noreply.github.com >
Co-authored-by: eavanvalkenburg <github@vanvalkenburg.eu >
2026-01-12 17:26:53 +00:00
claude89757 and GitHub
3e13909e59
Python: Add Pydantic request model and OpenAPI tags support to AG-UI FastAPI endpoint ( #2522 )
...
* feat(ag-ui): Add Pydantic request model and OpenAPI tags support
- Add AGUIRequest Pydantic model in _types.py with field descriptions
- Update add_agent_framework_fastapi_endpoint() to accept tags parameter
- Use AGUIRequest model for automatic validation and OpenAPI schema generation
- Export AGUIRequest and DEFAULT_TAGS in __init__.py
- Update test_endpoint.py to expect 422 for invalid requests
- Add tests for OpenAPI schema, default tags, custom tags, and validation
Benefits:
- Better API documentation with complete request schema in Swagger UI
- Automatic request validation with Pydantic
- Organized endpoints under 'AG-UI' tag instead of 'default'
- Improved developer experience and type safety
Fixes #<issue-number>
* test(ag-ui): Add test for internal error handling to achieve 100% coverage
- Add test_endpoint_internal_error_handling() to cover exception handling code
- Mock copy.deepcopy to simulate internal error during default_state processing
- Add type: ignore for FastAPI tags parameter (known pyright compatibility issue)
- Achieves 100% test coverage for _endpoint.py (previously missing lines 103-105)
2026-01-12 15:07:34 +00:00
Dina Suehiro Jones and GitHub
3a5fe31263
Fix Ollama model env var in documentation ( #3156 )
...
Signed-off-by: Dina Suehiro Jones <dina.s.jones@intel.com >
2026-01-12 14:15:49 +00:00
6e3bc219e0
fix(anthropic): fix duplicate ToolCallStartEvent in streaming tool calls ( #3051 )
...
When processing `input_json_delta` events, the Anthropic client was
passing the tool name from the previous `tool_use` event. This caused
ag-ui's `_handle_function_call_content` to emit a `ToolCallStartEvent`
for every streaming chunk (since it triggers on `if content.name:`).
This fix changes the behavior to pass an empty string for `name` in
`input_json_delta` events, matching OpenAI's behavior where streaming
argument chunks have `name=""`. The initial `tool_use` event still
provides the tool name, so only one `ToolCallStartEvent` is emitted.
Co-authored-by: Evan Mattson <35585003+moonbox3@users.noreply.github.com >
2026-01-12 08:14:49 +00:00
Eduard van Valkenburg and GitHub
551c2c3abe
Python: multiple bug fixes ( #3150 )
...
* fix Python: kwargs are not passed to _prepare_thread_and_messages in ChatAgent.run
Fixes #3118
* fix Python: [Bug]: model_id versus model_deployment_name is confusing in Azure AI Agents
Fixes #3147
* add types
* fixed type and docstring
2026-01-12 01:01:41 +00:00
Evan Mattson and GitHub
6445b6b3a6
Python: Fix AzureAIClient tool call bug for AG-UI use ( #3148 )
...
* Fiz AzureAIClient tool call bug
* Address copilot feedback
2026-01-09 18:53:15 +00:00
Evan Mattson and GitHub
d28ad2d7df
Track agent name with updates for workflow agent ( #3146 )
2026-01-09 08:23:32 +00:00
Evan Mattson and GitHub
88968da0bd
Python: fix(ag-ui): Execute tools with approval_mode, fix shared state, code cleanup ( #3079 )
...
* fix(ag-ui): execute tools after approval in human-in-the-loop flow
* Fix shared state bug
* Bug fix finalized
* Refactoring to clean up code
* Code cleanup
* More fixes
* More code cleanup
* Add version detection in __init__.py to ruff ignore list
2026-01-09 03:08:05 +00:00
9c04196491
Bump js-yaml from 4.1.0 to 4.1.1 in /python/packages/devui/frontend ( #3123 )
...
Bumps [js-yaml](https://github.com/nodeca/js-yaml ) from 4.1.0 to 4.1.1.
- [Changelog](https://github.com/nodeca/js-yaml/blob/master/CHANGELOG.md )
- [Commits](https://github.com/nodeca/js-yaml/compare/4.1.0...4.1.1 )
---
updated-dependencies:
- dependency-name: js-yaml
dependency-version: 4.1.1
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-01-08 20:49:49 +00:00