Eduard van Valkenburg and GitHub
a7d924a7d2
Python: [BREAKING] changed AIFunction to FunctionTool and @ai_function to @tool ( #3413 )
...
* changed AIFunction to FunctionTool and @ai_function to @tool
* test and mypy fixes
* mypy fix
* switch function tool to always_require
* fix noop
* fix github copilot imports
* test fixes
* fix ollama test
* fixes for tests
* fix tests
* reverted change to always_require and extended timeout
* fix test
2026-01-28 14:53:53 +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
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
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
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
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
Eduard van Valkenburg and GitHub
d8cf8361bd
renamed all ( #3207 )
2026-01-14 05:54:07 +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
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
Dmytro Struk and GitHub
b8260ae24c
Python: [BREAKING] Removed default "store" value ( #2443 )
...
* Removed default store value
* Small fix
2025-11-25 17:53:08 +00:00
Evan Mattson and GitHub
2a4802eac3
Python: Fix runtime response format for responses client ( #2440 )
...
* Fix runtime response format for responses client
* Handle run time schema for Azure AI Client.
2025-11-25 07:50:20 +00:00
d18ce24bf8
Python: feat(mcp): add full _meta field support for CallToolResult objects ( #2286 )
...
* feat(mcp): add full _meta field support for CallToolResult objects
- Extract and preserve complete _meta field from MCP CallToolResult responses
- Merge metadata into additional_properties of converted content items
- Handle isError field for proper error state integration
- Support arbitrary metadata like token usage, costs, and performance metrics
- Maintain backward compatibility with existing tool execution workflows
- Add comprehensive test coverage for all metadata scenarios including edge cases
- Update documentation with metadata handling examples and patterns
Fixes protocol compliance violation where _meta fields were being dropped,
enables proper monitoring and cost tracking of MCP tool usage.
* Update python/packages/core/agent_framework/_mcp.py
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
* Clarify MCP _meta field test to use generic example metadata
- Updated test_mcp_call_tool_result_with_meta_arbitrary_data to use arbitrary metadata fields
- Added comments to emphasize that _meta structure is server-specific and not standardized
---------
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
2025-11-21 08:43:24 +00:00
Evan Mattson and GitHub
5bdf8a774a
Sample to show passing in JSON schema for structured outputs ( #2362 )
2025-11-21 01:42:46 +00:00
Giles Odigwe and GitHub
4bffe1ebc8
update openai samples to use agents ( #2012 )
2025-11-12 22:58:41 +00:00
Giles Odigwe and GitHub
1d7292fba6
Python: OpenAI Responses Image Generation Stream Support, Sample and Unit Tests ( #1853 )
...
* support for image gen streaming
* small fixes
* fixes
* added comment
2025-11-11 19:01:37 +00:00
Giles Odigwe and GitHub
2059e7b3e8
Python: Azure AI Search Support Update + Refactored Samples & Unit Tests ( #1683 )
...
* azure ai search sample update
* azure ai search update
* small fix
2025-10-30 02:30:06 +00:00
Giles Odigwe and GitHub
e8a7d3b1b7
Python: Added Samples for HostedCodeInterpreterTool with files ( #1583 )
...
* code interpreter with files
* import fix
2025-10-21 01:37:53 +00:00
Eduard van Valkenburg and GitHub
76900f0eab
Python: [BREAKING] parameter naming and other fixes ( #1255 )
...
* parameter naming and other fixes
* fix test
* fix azure openai responses decorator ordering
* fix test
* fix mypy
* fixes in options handling
* fix tests
* final fixes
* exclude macos tests
* fix model param
2025-10-07 21:18:48 +00:00
Evan Mattson and GitHub
4f4890cf6a
Update getting started samples to reflect AF. Update a unit test. ( #1093 )
2025-10-02 01:20:12 +00:00
Giles Odigwe and GitHub
b88143b686
Agents + Chat Client Samples Doctsring Updates ( #1028 )
...
* agents + chat client samples doctsring updates
* fixes
2025-10-01 07:18:53 +00:00
Eduard van Valkenburg and GitHub
54ad135914
Python: [BREAKING] added SerializationMixin and applied to contents, agents, chat client… ( #1012 )
...
* added SerializationMixin and applied to contents, agents, chat clients, removed AFBaseModel
* fix annotations type
* mypy fixes
* fix tests
* fix serializable subvalues and added large docstring
* updated indents in code block
* fixed exported urls
2025-09-30 19:53:46 +00:00
b4ebafa9b1
Python: [Breaking] removed pydantic from types and workflows ( #917 )
...
* removed pydantic from types
* fix test
* fix test
* fix tests
* fix assistants client
* Remove Pydantic usage from workflow code.
* updated pydantic removal
* updated lock and test fixes
* fix mypy
* updated build system
* updated chat client parsing
* fix broken test
---------
Co-authored-by: Evan Mattson <evan.mattson@microsoft.com >
2025-09-29 21:19:58 +00:00
Eduard van Valkenburg and GitHub
10d10364a9
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
2025-09-29 16:22:34 +00:00
Dmytro Struk and GitHub
f2f0d40437
Added structured output to agent streaming ( #943 )
2025-09-27 17:07:17 +00:00
Eduard van Valkenburg and GitHub
9355329dfd
Python: [BREAKING] updated structure and samples ( #875 )
...
* updated structure and samples
* updated names and removed cross tests
* updated projects etc
* updated tests
* updated test
* test fixes
* removed devui for now
* updated all-tests task
* removed old style configs
* remove coverage from tests
* updated to unit tests with all-tests
* updated foundry everywhere
* fix azure ai tests
* fix merge tests
* fix mypy
2025-09-25 07:02:53 +00:00
Dmytro Struk and GitHub
a72245287f
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
2025-07-24 15:31:05 +00:00
Dmytro Struk and GitHub
160c846b39
Python: Added more examples ( #208 )
...
* Small cleanup
* Added Azure and Foundry chat client samples
* Added Azure chat client agent example
2025-07-22 14:07:12 +00:00