@realtimex/folio 0.1.12 → 0.1.14

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/.env.example CHANGED
@@ -7,6 +7,7 @@ VITE_API_URL=http://localhost:3006
7
7
  PORT=3006
8
8
  NODE_ENV=development
9
9
  DISABLE_AUTH=true
10
+ FOLIO_VLM_IMAGE_REENCODE_RETRY_ENABLED=true
10
11
 
11
12
  # Optional .env fallback for local API (BYOK via setup UI is preferred)
12
13
  SUPABASE_URL=
@@ -209,14 +209,11 @@ router.post(
209
209
  }
210
210
  const { data: settingsRow } = await req.supabase
211
211
  .from("user_settings")
212
- .select("llm_provider, llm_model")
212
+ .select("llm_provider, llm_model, ingestion_llm_provider, ingestion_llm_model")
213
213
  .eq("user_id", req.user.id)
214
214
  .maybeSingle();
215
215
 
216
- const llmSettings = {
217
- llm_provider: settingsRow?.llm_provider ?? undefined,
218
- llm_model: settingsRow?.llm_model ?? undefined,
219
- };
216
+ const llmSettings = IngestionService.resolveIngestionLlmSettings(settingsRow);
220
217
 
221
218
  const summary = await IngestionService.summarize(
222
219
  req.params["id"] as string,
@@ -36,6 +36,8 @@ router.patch("/", asyncHandler(async (req, res) => {
36
36
  const payload = {
37
37
  llm_provider: body.llm_provider,
38
38
  llm_model: body.llm_model,
39
+ ingestion_llm_provider: body.ingestion_llm_provider,
40
+ ingestion_llm_model: body.ingestion_llm_model,
39
41
  sync_interval_minutes: body.sync_interval_minutes,
40
42
  tts_auto_play: body.tts_auto_play,
41
43
  tts_provider: body.tts_provider,