Choose the AI Models
The apps work without an AI model. A model adds their AI features, such as an assistant panel, explanations and proposals that the user confirms, and reading scanned documents. Twelve apps have AI features: Launchpad, Patient Registration Desk, Procurement Desk, Executive Briefing, AP Cockpit, Credit & Collections Desk, Finance Intelligence, Cash & Budget Runway, Plant Reliability Desk, Maintenance Control Room, Demand History Desk and Demand Review Cockpit.
What the model gets
Section titled “What the model gets”The model gets only what the app sends it: the data of the screen the user works on and, for reading, the page images or their text. In some apps the assistant can ask for more SAP data; the app then reads it with its own read tools, under the user’s own SAP user. The model never changes SAP: it can only propose, and the user confirms each change through the app’s own checks. In the Patient Registration Desk, what the AI agent read goes through SAP’s checks, and the document capture profile decides whether a clean document is posted without a person.
With a model on your own servers, prompts and SAP data stay in your network.
Models in LibreChat
Section titled “Models in LibreChat”- Model connections (Settings → Models, administrators only): connect any model server with an
OpenAI-compatible API, such as vLLM or LiteLLM. A new connection is available to everybody without a restart.
Connections from
librechat.yamlare listed there as well. Connect Ollama models through LiteLLM, because Ollama’s own/v1interface ignores the context size. - The default for the apps:
SKYBUFFER_APPS_SAMPLE_MODEL=<endpoint>/<model>in.env. Without it, the apps use the first custom endpoint. - Per app, in Settings → Apps → Models and connections:
- Assistant: the default of the installation or another model. Test checks it.
- Document reader, for apps that read scanned documents: the model that reads the pages. As the app asks follows the app’s settings. An OCR model turns each page into text, and the assistant model works from that text, so a text-only assistant model is enough; a model that reads images can read the pages itself.
In the app’s settings
Section titled “In the app’s settings”The ai section of app/app.env.js sets how an app finds its model. In LibreChat, keep provider at host: you
choose the models in the settings as above.
| Key | Values |
|---|---|
provider |
host (the default): the model LibreChat gives the app; when there is none, the AI features stay hidden. openai: an OpenAI-compatible endpoint of your own model, with its full URL in endpoint and its name in model. none: no AI features; everything else works. |
images |
Whether the model takes images: auto (LibreChat says so), true or false. |
reader |
Apps that read scanned documents: model (the assistant model reads the page images), vision (an image model at reader.endpoint), ocr (an OCR model at reader.endpoint turns each page into text) or none. |
label |
What the app calls the assistant, for example “AI assistant”. |
With openai, the endpoint must accept requests from the app’s sandboxed frame (CORS for the origin null). Keep
keys out of app.env.js, because the browser loads it; put a gateway that signs users in in front of the model.
The apps never name an AI vendor or product on their pages.