Skip to content

Commit

Permalink
Merge pull request #8 from llm-agents-php/feature/symfony-console-agent
Browse files Browse the repository at this point in the history
Adds symfony console agent
  • Loading branch information
butschster authored Sep 4, 2024
2 parents 198b722 + fc71c4e commit 943f423
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
6 changes: 3 additions & 3 deletions app/src/Application/Bootloader/SmartHomeBootloader.php
Original file line number Diff line number Diff line change
Expand Up @@ -145,8 +145,8 @@ public function boot(
AgentRepositoryInterface $agents,
): void {
/** @var SmartHomeControlAgent $agent */
$agent = $agents->get(SmartHomeControlAgent::NAME);

$agent->addAssociation(new ToolLink(name: DynamicMemoryTool::NAME));
// $agent = $agents->get(SmartHomeControlAgent::NAME);
//
// $agent->addAssociation(new ToolLink(name: DynamicMemoryTool::NAME));
}
}
2 changes: 2 additions & 0 deletions app/src/Application/Kernel.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@

use LLM\Agents\Agent\SiteStatusChecker\Integrations\Spiral\SiteStatusCheckerBootloader;
use LLM\Agents\Agent\SmartHomeControl\Integrations\Spiral\SmartHomeControlBootloader;
use LLM\Agents\Agent\SymfonyConsole\Integrations\Spiral\SymfonyConsoleBootloader;
use LLM\Agents\JsonSchema\Mapper\Integration\Spiral\SchemaMapperBootloader;
use LLM\Agents\OpenAI\Client\Integration\Spiral\OpenAIClientBootloader;
use Spiral\Boot\Bootloader\CoreBootloader;
Expand Down Expand Up @@ -50,6 +51,7 @@ public function defineBootloaders(): array
SchemaMapperBootloader::class,
SiteStatusCheckerBootloader::class,
SmartHomeControlBootloader::class,
SymfonyConsoleBootloader::class,
];
}
}
1 change: 1 addition & 0 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
"internal/dload": "^0.2.2",
"llm-agents/agent-site-status-checker": "^1.0",
"llm-agents/agent-smart-home-control": "^1.0",
"llm-agents/agent-symfony-console": "^1.0",
"llm-agents/agents": "^1.0",
"llm-agents/cli-chat": "^1.0",
"llm-agents/json-schema-mapper": "^1.0",
Expand Down

0 comments on commit 943f423

Please sign in to comment.