Skip to content

Commit 53fdc4e

Browse files
authored
chore: lib update (#73)
1 parent 48e1850 commit 53fdc4e

File tree

3 files changed

+6
-4
lines changed

3 files changed

+6
-4
lines changed

composer.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
],
1616
"require": {
1717
"php": ">=8.2",
18-
"php-llm/llm-chain": "^0.17",
18+
"php-llm/llm-chain": "^0.18",
1919
"symfony/config": "^6.4 || ^7.0",
2020
"symfony/dependency-injection": "^6.4 || ^7.0",
2121
"symfony/framework-bundle": "^6.4 || ^7.0",

src/Resources/config/services.php

+4-2
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,8 @@
88
use PhpLlm\LlmChain\Chain\StructuredOutput\ResponseFormatFactory;
99
use PhpLlm\LlmChain\Chain\StructuredOutput\ResponseFormatFactoryInterface;
1010
use PhpLlm\LlmChain\Chain\ToolBox\ChainProcessor as ToolProcessor;
11-
use PhpLlm\LlmChain\Chain\ToolBox\ToolAnalyzer;
11+
use PhpLlm\LlmChain\Chain\ToolBox\MetadataFactory;
12+
use PhpLlm\LlmChain\Chain\ToolBox\MetadataFactory\ReflectionFactory;
1213
use PhpLlm\LlmChain\Chain\ToolBox\ToolBox;
1314
use PhpLlm\LlmChain\Chain\ToolBox\ToolBoxInterface;
1415
use PhpLlm\LlmChain\Embedder;
@@ -48,7 +49,8 @@
4849
'$tools' => tagged_iterator('llm_chain.tool'),
4950
])
5051
->alias(ToolBoxInterface::class, ToolBox::class)
51-
->set(ToolAnalyzer::class)
52+
->set(ReflectionFactory::class)
53+
->alias(MetadataFactory::class, ReflectionFactory::class)
5254
->set('llm_chain.tool.chain_processor.abstract')
5355
->class(ToolProcessor::class)
5456
->abstract()

src/Resources/views/data_collector.html.twig

+1-1
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@
126126
{% endfor %}
127127
</ol>
128128
{% else %}
129-
{{ call.input }}
129+
{{ dump(call.input) }}
130130
{% endif %}
131131
</td>
132132
</tr>

0 commit comments

Comments
 (0)