Skip to content

Commit 0a01f3e

Browse files
committed
Increased default timeout
1 parent 06acf61 commit 0a01f3e

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/Agents/Adapters/Anthropic.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -90,6 +90,7 @@ public function send(array $messages, ?callable $listener = null): Message
9090

9191
$client = new \Utopia\Fetch\Client();
9292
$client
93+
->setTimeout(90)
9394
->addHeader('x-api-key', $this->apiKey)
9495
->addHeader('anthropic-version', '2023-06-01')
9596
->addHeader('content-type', 'application/json');

0 commit comments

Comments
 (0)