mirror of
https://github.com/appwrite/appwrite.git
synced 2026-11-18 20:36:03 +00:00
updated ollama timeout
This commit is contained in:
1 parent
02bba85fe7
commit
a112de41c5
1 file changed
+1
-1
@@ -88,7 +88,7 @@ class Create extends CreateDocumentAction
|
||||
public function action(array $texts, string $model, UtopiaResponse $response, Document $project, Agent $embeddingAgent, StatsUsage $queueForStatsUsage, Log $log, ?Logger $logger): void
|
||||
{
|
||||
$results = [];
|
||||
$embeddingAgent->getAdapter()->setModel($model);
|
||||
$embeddingAgent->getAdapter()->setModel($model)->setTimeout(150);
|
||||
$dimension = $embeddingAgent->getAdapter()->getEmbeddingDimension();
|
||||
|
||||
$totalDuration = 0;
|
||||
|
||||
Reference in new issue
Block a user