feat: add LLM import pipeline with file upload and text input

This commit is contained in:
2026-05-21 10:29:35 -04:00
parent b179135136
commit 578d1ae068
4 changed files with 221 additions and 35 deletions
+8 -2
View File
@@ -83,6 +83,12 @@ main = do
putStrLn $ "[roux] config file: " <> optConfigFile opts
-- Load config (file may be missing; LLM features disabled gracefully)
_config <- Config.loadConfig (optConfigFile opts)
waiApp <- Roux.app (optRecipeDir opts)
configResult <- Config.loadConfig (optConfigFile opts)
let config = case configResult of
Right cfg -> cfg
Left _ -> Config.RouxConfig Nothing
case configResult of
Left err -> putStrLn $ "[roux] warning: " <> err <> " — LLM features disabled"
Right _ -> pure ()
waiApp <- Roux.app (optRecipeDir opts) config
Warp.runSettings settings waiApp