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
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
3f7ea350dc
Python: Add tool call/result content types and update connectors and samples ( #2971 )
...
* Add new AI content types and image tool support
Co-authored-by: eavanvalkenburg <13749212+eavanvalkenburg@users.noreply.github.com >
* Add Python content types for tool calls/results and image generation tool support
Co-authored-by: eavanvalkenburg <13749212+eavanvalkenburg@users.noreply.github.com >
* Address review feedback for tool content and samples
Co-authored-by: eavanvalkenburg <13749212+eavanvalkenburg@users.noreply.github.com >
* Tighten image generation typing and sample tools list
Co-authored-by: eavanvalkenburg <13749212+eavanvalkenburg@users.noreply.github.com >
* Align image generation output typing
Co-authored-by: eavanvalkenburg <13749212+eavanvalkenburg@users.noreply.github.com >
* Handle MCP naming, image options mapping, and connector tool content
Co-authored-by: eavanvalkenburg <13749212+eavanvalkenburg@users.noreply.github.com >
* Allow MCP call in function approval request
Co-authored-by: eavanvalkenburg <13749212+eavanvalkenburg@users.noreply.github.com >
* Remove raw image_generation tool remapping
Co-authored-by: eavanvalkenburg <13749212+eavanvalkenburg@users.noreply.github.com >
* Restore Anthropic tool_use to function calls unless code execution
Co-authored-by: eavanvalkenburg <13749212+eavanvalkenburg@users.noreply.github.com >
* Fix lint issues for hosted file docstring and MCP parsing
Co-authored-by: eavanvalkenburg <13749212+eavanvalkenburg@users.noreply.github.com >
* Import ChatResponse types in Anthropic client
Co-authored-by: eavanvalkenburg <13749212+eavanvalkenburg@users.noreply.github.com >
* Fix Anthropics citation type imports and MCP typing for handoff/tools
Co-authored-by: eavanvalkenburg <13749212+eavanvalkenburg@users.noreply.github.com >
* Skip lightning tests without agentlightning and fix function call import
Co-authored-by: eavanvalkenburg <13749212+eavanvalkenburg@users.noreply.github.com >
* fix lint on lab package
* rebuilt anthropic parsing
* redid anthropic parsing
* typo
* updated parsing and added missing docstrings
* fix tests
* mypy fixes
* second mypy fix
* add new class to other samples
---------
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-08 19:46:32 +00:00
Sukeesh and GitHub
ab493af110
Python: Fix Anthropic streaming response bugs ( #3141 )
...
* test commit identity
* fix(anthropic): fix raw_representation and finish_reason in streaming
* lint fix
2026-01-08 16:22:52 +00:00
Evan Mattson and GitHub
f508f1d6da
Python: Bump python version to 1.0.0b260107 for a release ( #3128 )
...
* Bump python version to 1.0.0b260107 for a release
* Update changelog
2026-01-08 08:49:28 +09:00
Evan Mattson and GitHub
202f557c71
Bump versions to 1.0.0b260106 for a release. Update CHANGELOG.md ( #3109 )
2026-01-07 00:09:49 +00:00
Dmytro Struk and GitHub
5ab47596ff
Python: Updated package versions ( #3024 )
...
* Updated package versions
* Updated changelog
2025-12-23 16:04:53 +00:00
Evan Mattson and GitHub
e15eab7da6
Python: Bump Py version to 1.0.0b251218 for a release. Update CHANGELOG ( #2968 )
...
* Bump Py version to 1.0.0b251218 for a release. Update CHANGELOG
* update lock
* Fix formatting
* Fix ChatKit typing
2025-12-19 01:31:57 +00:00
Eduard van Valkenburg and GitHub
e5c11d38d6
Python: cleanup and refactoring of chat clients ( #2937 )
...
* refactoring and unifying naming schemes of internal methods of chat clients
* set tool_choice to auto
* fix for mypy
* added note on naming and fix #2951
* fix responses
* fixes in azure ai agents client
2025-12-18 12:02:23 +00:00
Dmytro Struk and GitHub
e319707058
Updated package versions ( #2913 )
2025-12-16 18:51:44 +00:00
Eduard van Valkenburg and GitHub
3139347526
Python: [BREAKING] Observability updates ( #2782 )
...
* fixes Python: Add env_file_path parameter to setup_observability() similar to AzureOpenAIChatClient
Fixes #2186
* WIP on updates using configure_azure_monitor
* improved setup and clarity
* fixed root .env.example
* revert changes
* updated files
* updated sample
* updated zero code
* test fixes and fixed links
* fix devui
* removed planning docs
* added enable method and updated readme and samples
* clarified docstring
* add return annotation
* updated naming
* update capatilized version
* updated readme and some fixes
* updated decorator name inline with the rest
* feedback from comments addressed
2025-12-16 06:56:30 +00:00
Dmytro Struk and GitHub
8d53b20026
Python: Updated package versions ( #2784 )
...
* Updated package versions
* Small fix
2025-12-11 18:39:08 +00:00
Dmytro Struk and GitHub
43302fb4cd
Python: Updated package versions ( #2737 )
...
* Updated package versions
* Updated changelog
2025-12-09 22:58:45 +00:00
Dmytro Struk and GitHub
f5786b2c5b
Updated package versions ( #2643 )
2025-12-04 22:08:47 +00:00
Dmytro Struk and GitHub
cf13e35c73
Updated package versions ( #2360 )
2025-11-20 16:07:10 -08:00
Eduard van Valkenburg and GitHub
fcc3f1b6c0
Python: fix anthropic code interpreter tool repr ( #2244 )
...
* fix anthropic code interpreter tool repr
* fixes
* added skills and sample
* test fix
* add new sample to readme
* fixes tests
2025-11-17 10:06:10 +00:00
Dmytro Struk and GitHub
c7e7020c32
Python: Updated package versions ( #2238 )
...
* Updated package versions
* Small fix
* Small fix
2025-11-15 00:42:41 +00:00
Eduard van Valkenburg and GitHub
9e69e66cfe
Python: pre-commit improvements ( #2222 )
...
* pre-commit improvements
* updated lock
* fix for globbing
* reuse logic for mypy
* updated ci-mypy
2025-11-14 18:00:25 +00:00
Dmytro Struk and GitHub
3c874d0073
Python: Updated package versions ( #2165 )
...
* Updated package versions
* Reverted package version update for ag-ui
* Updated changelog file
2025-11-13 04:23:57 +00:00
Dmytro Struk and GitHub
e8243b7d11
Updated package versions ( #2154 )
2025-11-12 23:58:02 +00:00
Eduard van Valkenburg and GitHub
ef60f38084
Python: fixed image handling in anthropic and added convenience method on datacontent ( #2083 )
...
* fixed image handling in anthropic and added convenience method on datacontent
* remove wheel path
* updated docstrings
* fixed image handling in anthropic and added convenience method on datacontent
* remove wheel path
* updated lock
2025-11-12 12:07:27 +00:00
Dmytro Struk and GitHub
863a632ccf
Updated package versions ( #2104 )
2025-11-11 23:30:34 +00:00
Dmytro Struk and GitHub
c394f3f52b
Updated package versions ( #2027 )
2025-11-08 18:09:28 +00:00
Dmytro Struk and GitHub
327c304339
.NET: Python: Updated package versions ( #1944 )
...
* Updated .NET version
* Updated Python package versions
* Updated changelog
2025-11-05 22:20:31 +00:00
Eduard van Valkenburg and GitHub
54db13c22f
Python: add support for Python 3.14 ( #1904 )
...
* add tests for py3.14 and add classifier
* remove macos
* allow openai v2
2025-11-05 09:42:39 +00:00
Dmytro Struk and GitHub
9e1b3c9b85
Python: .NET: Updated package version and small fix ( #1911 )
...
* Removed public key
* Updated package version
* Updated Python package versions
2025-11-04 22:42:07 +00:00
Eduard van Valkenburg and GitHub
12d17acdc0
Python: Introducing the Anthropic Client ( #1819 )
...
* initial version of anthropic connector
* updated implementation and added tests
* fix type and readme
* mypy fix and int tests enabled
* add integration test setup
* updated based on comments
* improved function result handling
* added extra unordered test
* updated from review
* fix tool choice handling
* same fix for chat client
2025-11-03 19:32:28 +00:00