1
Fork 0
mirror of https://github.com/thegeneralist01/archivr synced 2026-12-04 18:56:44 +01:00

fix(llm): saved provider per account, codex trust check, UI-configured OpenAI-compatible endpoint (#49)

This commit is contained in:
TheGeneralist 2026-10-25 01:01:30 +02:00 • committed by GitHub
parent ece485539b
commit 3a6dca66d2
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
12 changed files with 1105 additions and 70 deletions

View file

@ -395,11 +395,13 @@ replacement succeeds, and public readers receive completed content only—never
| `ARCHIVR_CODEX_MODEL` | *(the CLI's own default)* | Optional model override for the local Codex CLI |
| `ARCHIVR_SUMMARY_HTTP_TIMEOUT` | `120` | Seconds before an HTTP-provider summary is killed |
| `ARCHIVR_SUMMARY_CLI_TIMEOUT` | `300` | Seconds before a CLI-provider summary is killed; also bounds each summary-time yt-dlp subtitle fetch call |
OpenAI-compatible endpoints can also be configured directly in the web UI under **Settings › Instance › OpenAI-compatible endpoint** (Base URL, optional API key, and model, with a **Fetch models** helper). Instance settings take precedence over the `ARCHIVR_OPENAI_*` environment variables.
Users can also choose and save their preferred summary provider across sessions and devices in **Settings › Profile › Preferred summary provider** or directly via the Summary section in the sidebar.
Thread-title generation uses the same provider but never its summary model (`ARCHIVR_*_MODEL`); it uses a cheap title
model instead. Admins can set a per-provider title model in **Settings › Instance › Thread title models**. Precedence:
that instance setting (blank = unset) > the env var below > the built-in default.
| Variable | Default | Description |
|---|---|---|
| `ARCHIVR_ANTHROPIC_TITLE_MODEL` | `claude-haiku-4-5` | Model used only for thread-title generation |