Skip to content

Commit 2b88a44

Browse files
committed
update error message
1 parent 046255a commit 2b88a44

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Service/Agent/Sender.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ public function send(int $agentId, AgentInput $input, ContextInterface $context)
8282

8383
$agent = $this->connector->getConnection($row->getConnectionId());
8484
if (!$agent instanceof AgentInterface) {
85-
throw new StatusCode\InternalServerErrorException('Could not resolve agent connection');
85+
throw new StatusCode\InternalServerErrorException('Could not resolve agent connection, please create first an agent connection to a LLM provider like ChatGPT or Ollama');
8686
}
8787

8888
$chatId = $input->getPreviousId();

0 commit comments

Comments
 (0)