Files
archived-ai/src/agent/CHANGELOG.md

1.4 KiB

CHANGELOG

0.7

  • [BC BREAK] Remove AbstractToolFactory in favor of standalone ReflectionToolFactory and MemoryToolFactory
  • [BC BREAK] Change ToolFactoryInterface::getTool() signature from string $reference to object|string $reference
  • Add ToolCallRequested event dispatched before tool execution

0.4

  • [BC BREAK] Rename Symfony\AI\Agent\Toolbox\Tool\Agent to Symfony\AI\Agent\Toolbox\Tool\Subagent
  • [BC BREAK] Change AgentProcessor keepToolMessages to excludeToolMessages and default behaviour to preserve tool messages
  • Add MetaDataAwareTrait to MockResponse, the metadata will also be set on the returned TextResult when calling the toResult function
  • Add HasSourcesTrait to Symfony\AI\Agent\Toolbox\Tool\Subagent

0.3

  • [BC BREAK] Drop toolboxes StreamResult in favor of StreamListener on top of Platform's StreamResult
  • [BC BREAK] Rename SourceMap to SourceCollection, its methods from getSources() to all() and addSource() to add()
  • [BC BREAK] Third Argument of ToolResult::__construct() now expects SourceCollection instead of array<int, Source>
  • Add maxToolCalls parameter to AgentProcessor to limit tool calling iterations and prevent infinite loops
  • Add Countable and IteratorAggregate implementations to SourceCollection

0.2

  • [BC BREAK] Switch MemoryInputProcessor to use iterable instead of variadic arguments

0.1

  • Add the component