This commit is contained in:
seb
2026-09-26 14:42:29 +02:00
parent f0176e0fe0
commit cbb2fdeb6d
4 changed files with 15 additions and 5 deletions

View File

@@ -14,7 +14,8 @@ is present, the input is treated as a single page.
The extracted pages are fed to an LLM (OpenRouter) which fills a structured
manifest of header data and line items. The OpenRouter API key is read from
the authenticated user's company setting `keys.openrouter`; the endpoint
the authenticated user's company setting `keys.openrouter` (or the server's
`OPENROUTER_FREE_KEY` if not configured); the endpoint
returns `400` if the key is not configured.
The stream ends after the final `result` event (or an `error` event on failure).