We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4b79e8d commit 479490eCopy full SHA for 479490e
1 file changed
src/Agents/Adapters/Anthropic.php
@@ -108,7 +108,8 @@ public function send(Conversation $conversation): array
108
Client::METHOD_POST,
109
[
110
'model' => $this->model,
111
- 'system' => $this->getAgent()->getDescription(),
+ 'system' => $this->getAgent()->getDescription() .
112
+ (empty($this->getAgent()->getCapabilities()) ? '' : "\n\n" . implode("\n\n", $this->getAgent()->getCapabilities())),
113
'messages' => $messages,
114
'max_tokens' => $this->maxTokens,
115
'temperature' => $this->temperature,
0 commit comments