Skip to content

Folio 0.4.8: Folio AI on any OpenAI-compatible model, with a hardened agent mode

Latest

Choose a tag to compare

@skravtsov skravtsov released this 05 Dec 09:03
· 1 commit to main since this release

Folio (foliowiki) 0.4.8 opens Folio AI, the assistant in the side panel, to the models you already run. It now works with Cursor, Claude, MiniMax and any OpenAI-compatible endpoint: OpenRouter, Ollama, vLLM, LM Studio, the OpenAI API and others. The release also writes table cells as you type and adds a Korean interface.

What is new

  • An OpenAI-compatible provider. Connect any server that answers POST /chat/completions with a base URL, an optional key and a list of models (the settings can load the list from the server). A connection can be personal, for one space or for the whole instance. Instance administrators may use any http or https address, including a model on your own machine; space administrators and personal connections only public https addresses; cloud metadata addresses are refused for everyone. A run that goes through a space's connection can see only that space. The panel shows "model · via host" next to a reply. This answers #40.
  • A hardened mode for models without their own safety harness (MiniMax and OpenAI-compatible models; Claude and Cursor are unchanged). Tool results reach the model as marked data, text that looks like an injected instruction is flagged, a run that repeats the same call or alternates between two calls gets a hint and then loses its tools, and keys and tokens in tool results are masked.
  • Approval before deleting. In hardened mode, Agent mode asks before a delete tool runs (table rows, columns or views, for example). Allow or Deny; no answer within 10 minutes counts as a refusal.
  • MiniMax is on by default. FOLIO_MINIMAX_ENABLED=0 switches it off.
  • Table cells write as you type. The Markdown table is updated on every keystroke and only the characters that changed are written, so two people in different cells of one table no longer disturb each other. Cells also take pictures, an emoji grid, status badges, an image panel and link cards. A run of random clicks and keystrokes against the editor found and fixed a long list of small bugs, listed in the changelog.
  • Korean interface, contributed by @adsd2004 (#43); see also #41.
  • Folio is in the official Dokploy template catalog; Microsoft Teams link previews gain thumbnails and tables, and a Folio tab with single sign-on.

The full list, with the fixes, is in CHANGELOG.md. Settings and limits: docs/FEATURES.md, docs/LIMITATIONS.md.

Thanks to @adsd2004 for the Korean translation and the table fixes in 0.4.7, and to everyone who asked for more providers.

Links: https://foliowiki.online, try it without installing: https://demo.foliowiki.online (shared, resets every 24 hours; the AI assistant is off there).

Upgrading

Back up first, then update as usual (docs/INSTALL.md).

  • Migrations 066 and 067 run automatically at startup and are one-way, so an upgraded database cannot go back without restoring the backup.
  • New optional variables for an OpenAI-compatible fallback connection: OPENAI_COMPAT_BASE_URL, OPENAI_COMPAT_MODELS and OPENAI_COMPAT_API_KEY (the key is optional). Run content is sent to that address.
  • FOLIO_MINIMAX_ENABLED now defaults to on. If a MINIMAX_API_KEY is still in your environment from the time MiniMax was off, it becomes active: remove it, or set FOLIO_MINIMAX_ENABLED=0.
  • Connecting a Teams account needs FOLIO_TEAMS_APP_PASSWORD; see docs/CHAT-PREVIEWS.md.