Skip to content

Commit 54ced9c

Browse files
committed
fix: remove llm chain remains in bundle
1 parent 53b2b97 commit 54ced9c

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

src/ai-bundle/src/Profiler/DataCollector.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -41,10 +41,10 @@ final class DataCollector extends AbstractDataCollector
4141
* @param TraceableToolbox[] $toolboxes
4242
*/
4343
public function __construct(
44-
#[TaggedIterator('llm_chain.traceable_platform')]
44+
#[TaggedIterator('symfony_ai.traceable_platform')]
4545
iterable $platforms,
4646
private readonly ToolboxInterface $defaultToolBox,
47-
#[TaggedIterator('llm_chain.traceable_toolbox')]
47+
#[TaggedIterator('symfony_ai.traceable_toolbox')]
4848
iterable $toolboxes,
4949
) {
5050
$this->platforms = $platforms instanceof \Traversable ? iterator_to_array($platforms) : $platforms;
@@ -62,7 +62,7 @@ public function collect(Request $request, Response $response, ?\Throwable $excep
6262

6363
public static function getTemplate(): string
6464
{
65-
return '@LlmChain/data_collector.html.twig';
65+
return '@AI/data_collector.html.twig';
6666
}
6767

6868
/**

src/ai-bundle/src/Resources/config/services.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,14 +51,14 @@
5151
->alias(ToolboxInterface::class, Toolbox::class)
5252
->set(ReflectionToolFactory::class)
5353
->alias(ToolFactoryInterface::class, ReflectionToolFactory::class)
54-
->set('symfony_ai.tool.chain_processor.abstract')
54+
->set('symfony_ai.tool.agent_processor.abstract')
5555
->class(ToolProcessor::class)
5656
->abstract()
5757
->args([
5858
'$toolbox' => abstract_arg('Toolbox'),
5959
])
6060
->set(ToolProcessor::class)
61-
->parent('symfony_ai.tool.chain_processor.abstract')
61+
->parent('symfony_ai.tool.agent_processor.abstract')
6262
->tag('symfony_ai.agent.input_processor')
6363
->tag('symfony_ai.agent.output_processor')
6464
->args([

0 commit comments

Comments
 (0)