refactor: пространство имён Rsgrinko\AiSdk
AiSdk\ → Rsgrinko\AiSdk\, AiSdk\Tools\ → Rsgrinko\AiSdk\Tools\: автозагрузка в bootstrap.php, исходники, тесты, примеры и документация. Несовместимое изменение: в подключающем коде нужно поправить use.
This commit is contained in:
1 parent
ad4dfc3388
commit
0f08f35ba4
79 files changed
+265
-265
No files matched your search
+6
-6
@@ -17,12 +17,12 @@ declare(strict_types=1);
|
||||
|
||||
require dirname(__DIR__) . '/bootstrap.php';
|
||||
|
||||
use AiSdk\Agent;
|
||||
use AiSdk\AiClient;
|
||||
use AiSdk\ToolRegistry;
|
||||
use AiSdk\Tools\CalculatorTool;
|
||||
use AiSdk\Tools\TimeTool;
|
||||
use AiSdk\Tools\WeatherTool;
|
||||
use Rsgrinko\AiSdk\Agent;
|
||||
use Rsgrinko\AiSdk\AiClient;
|
||||
use Rsgrinko\AiSdk\ToolRegistry;
|
||||
use Rsgrinko\AiSdk\Tools\CalculatorTool;
|
||||
use Rsgrinko\AiSdk\Tools\TimeTool;
|
||||
use Rsgrinko\AiSdk\Tools\WeatherTool;
|
||||
|
||||
$tools = (new ToolRegistry())->add(
|
||||
new TimeTool(),
|
||||
|
||||
Reference in new issue
Block a user