mirror of
https://github.com/symfony/ai.git
synced 2026-03-23 23:42:18 +01:00
1.4 KiB
1.4 KiB
CHANGELOG
0.7
- [BC BREAK] Remove
AbstractToolFactoryin favor of standaloneReflectionToolFactoryandMemoryToolFactory - [BC BREAK] Change
ToolFactoryInterface::getTool()signature fromstring $referencetoobject|string $reference - Add
ToolCallRequestedevent dispatched before tool execution
0.4
- [BC BREAK] Rename
Symfony\AI\Agent\Toolbox\Tool\AgenttoSymfony\AI\Agent\Toolbox\Tool\Subagent - [BC BREAK] Change AgentProcessor
keepToolMessagestoexcludeToolMessagesand default behaviour to preserve tool messages - Add
MetaDataAwareTraittoMockResponse, the metadata will also be set on the returnedTextResultwhen calling thetoResultfunction - Add
HasSourcesTraittoSymfony\AI\Agent\Toolbox\Tool\Subagent
0.3
- [BC BREAK] Drop toolboxes
StreamResultin favor ofStreamListeneron top of Platform'sStreamResult - [BC BREAK] Rename
SourceMaptoSourceCollection, its methods fromgetSources()toall()andaddSource()toadd() - [BC BREAK] Third Argument of
ToolResult::__construct()now expectsSourceCollectioninstead ofarray<int, Source> - Add
maxToolCallsparameter toAgentProcessorto limit tool calling iterations and prevent infinite loops - Add
CountableandIteratorAggregateimplementations toSourceCollection
0.2
- [BC BREAK] Switch
MemoryInputProcessorto useiterableinstead of variadic arguments
0.1
- Add the component