mirror of
https://github.com/appwrite/appwrite.git
synced 2026-05-26 13:51:13 +00:00
updated ollama timeout
This commit is contained in:
@@ -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