This commit is contained in:
+6
-8
@@ -31,15 +31,13 @@ func main() {
|
||||
}
|
||||
|
||||
app := &handlers.App{
|
||||
DB: db,
|
||||
DownloadsDir: downloadsDir,
|
||||
WorkerScript: workerScript,
|
||||
DB: db,
|
||||
DownloadsDir: downloadsDir,
|
||||
WorkerScript: workerScript,
|
||||
SearchService: services.NewSearchService(
|
||||
os.Getenv("VERTEX_AI_SEARCH_API_KEY"),
|
||||
os.Getenv("VERTEX_AI_SEARCH_PROJECT_ID"),
|
||||
os.Getenv("VERTEX_AI_SEARCH_LOCATION"),
|
||||
os.Getenv("VERTEX_AI_SEARCH_DATA_STORE_ID"),
|
||||
os.Getenv("VERTEX_AI_SEARCH_SERVING_CONFIG"),
|
||||
os.Getenv("SEARXNG_BASE_URL"),
|
||||
os.Getenv("SEARXNG_GOOGLE_VIDEO_ENGINE"),
|
||||
os.Getenv("SEARXNG_WEB_ENGINE"),
|
||||
),
|
||||
GeminiService: services.NewGeminiService(os.Getenv("GEMINI_API_KEY")),
|
||||
Hub: handlers.NewHub(),
|
||||
|
||||
Reference in New Issue
Block a user