Skip to content

Commit 78d28bb

Browse files
authored
fix: adopt to ToolBox interface change (#59)
1 parent f11f245 commit 78d28bb

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
],
1212
"require": {
1313
"php": ">=8.2",
14-
"php-llm/llm-chain": "^0.11",
14+
"php-llm/llm-chain": "^0.13",
1515
"symfony/config": "^6.4 || ^7.0",
1616
"symfony/dependency-injection": "^6.4 || ^7.0",
1717
"symfony/framework-bundle": "^6.4 || ^7.0"

src/Profiler/TraceableToolBox.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ public function getMap(): array
3030
return $this->toolBox->getMap();
3131
}
3232

33-
public function execute(ToolCall $toolCall): string
33+
public function execute(ToolCall $toolCall): mixed
3434
{
3535
$result = $this->toolBox->execute($toolCall);
3636

0 commit comments

Comments
 (0)