Browse Source

:beers: for deployment

China Kassapa 5 months ago
parent
commit
ca05c42dcd
1 changed files with 2 additions and 1 deletions
  1. 2 1
      api-v8/app/Services/SummaryService.php

+ 2 - 1
api-v8/app/Services/SummaryService.php

@@ -24,7 +24,8 @@ class SummaryService
     public function __construct(AIModelService $aiModels)
     public function __construct(AIModelService $aiModels)
     {
     {
         $models = $aiModels->getSysModels('summarize');
         $models = $aiModels->getSysModels('summarize');
-        $this->modelId = $models[0]['uid'];
+        // FIXME
+        // $this->modelId = $models[0]['uid'];
         $this->apiUrl = config('mint.ai.proxy') . '/api/openai';
         $this->apiUrl = config('mint.ai.proxy') . '/api/openai';
     }
     }