Skip to content

Commit

Permalink
part 1 of this refactor
Browse files Browse the repository at this point in the history
  • Loading branch information
alnutile committed Jul 4, 2024
1 parent 8c3f303 commit 4e7dfdb
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion Modules/LlmDriver/app/Orchestrate.php
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ public function handle(
*/
$messagesArray = $message->getLatestMessages();
$filter = $message->meta_data->filter;
if($filter) {
if ($filter) {
$filter = Filter::find($filter);
}
$tool = $message->meta_data->tool;
Expand Down
1 change: 0 additions & 1 deletion tests/Feature/OrchestrateTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@
use LlmLaraHub\LlmDriver\Functions\SummarizeCollection;
use LlmLaraHub\LlmDriver\LlmDriverFacade;
use LlmLaraHub\LlmDriver\Orchestrate;
use LlmLaraHub\LlmDriver\Requests\MessageInDto;
use LlmLaraHub\LlmDriver\Responses\FunctionResponse;
use Mockery;
use Tests\TestCase;
Expand Down

0 comments on commit 4e7dfdb

Please sign in to comment.