From 2ffba193925c49574e0571dc4c85b5bdfe76455f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fran=20Jurmanovi=C4=87?= Date: Wed, 12 Aug 2026 22:03:04 +0200 Subject: [PATCH] add langfuse url to server starting --- src/app/index.ts | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/src/app/index.ts b/src/app/index.ts index 5b82f17..e76dd4b 100644 --- a/src/app/index.ts +++ b/src/app/index.ts @@ -32,10 +32,19 @@ async function main(): Promise { const promptService = new PromptService(promptGateway, config.LANGFUSE_PROMPT_CACHE_ENABLED); const llmClient = new LlmClient({ baseUrl: config.LLM_BASE_URL, apiKey: config.LLM_API_KEY }); - const jellyfin = new JellyfinClient(config.JELLYFIN_URL, config.JELLYFIN_API_KEY, config.JELLYFIN_USER_ID); + const jellyfin = new JellyfinClient( + config.JELLYFIN_URL, + config.JELLYFIN_API_KEY, + config.JELLYFIN_USER_ID + ); const tmdb = new TmdbClient(config.TMDB_API_KEY); const radarr = config.RADARR_ENABLED - ? new RadarrClient(config.RADARR_URL, config.RADARR_API_KEY, config.RADARR_QUALITY_PROFILE_ID, config.RADARR_ROOT_FOLDER) + ? new RadarrClient( + config.RADARR_URL, + config.RADARR_API_KEY, + config.RADARR_QUALITY_PROFILE_ID, + config.RADARR_ROOT_FOLDER + ) : undefined; const recommenderTool = new MovieRecommenderTool(promptService, llmClient, config.LLM_MODEL); @@ -58,6 +67,7 @@ async function main(): Promise { radarrEnabled: config.RADARR_ENABLED, cronEnabled: config.CRON_ENABLED, apiEnabled: config.API_ENABLED, + langfuse: config.LANGFUSE_BASE_URL, }, 'sugarr starting' );