Architektur: Provider, Modell, Gruppe
FIM One organisiert die LLM-Konfiguration in drei Ebenen:Adding a Provider
1
Open the Models page
Open Admin Panel from the user menu and select the Models tab.
2
Click Add Provider
Click the Add Provider button in the top-right area of the Providers section.
3
Select a preset or use a custom endpoint
The dialog offers presets for 16 providers — OpenAI, Anthropic (Claude), Google Gemini, DeepSeek, Mistral AI, xAI (Grok), OpenRouter, Ollama, and the China and Global endpoints of Qwen, GLM, Moonshot and MiniMax — plus OpenAI Compatible (custom endpoint). Clicking a preset auto-fills the provider name and base URL.Choose OpenAI Compatible if your provider is not listed (e.g., a third-party relay or any other OpenAI-compatible endpoint).
4
Enter credentials
Fill in the required fields:
- Provider Name — A friendly label (e.g., “My OpenAI Account”). This is for your reference only.
- Base URL — The API endpoint. Presets fill this automatically. For custom endpoints, enter the full URL (e.g.,
http://localhost:11434/v1for Ollama). - API Key — Your provider’s API key. With the Ollama preset the API key can be left empty.
5
Save
Click Create. The provider appears in the list, ready for you to add models under it.
Adding a Model
1
Expand a provider
On the Models page, click the chevron next to an existing provider to expand it and see its models.
2
Click Add Model
Click the Add Model button that appears under the expanded provider.
3
Enter model details
Fill in the two required fields:
- Display Name — A human-readable name shown in the UI (e.g., “GPT-4o”, “Claude Sonnet”). Can be anything you like.
- Model ID — The exact model identifier sent to the API (e.g.,
gpt-4o,claude-sonnet-4-6,deepseek-chat). This must match what your provider expects.
4
Configure advanced settings (optional)
Click the Advanced toggle to reveal additional settings: Max Output Tokens, Context Size, Temperature, Native Function Calling, JSON Mode, and Vision Support (whether the model accepts images; see Document Processing). See the Advanced Settings section below for details on each.
5
Save
Click Create. The model appears under its provider and is now available for assignment to model groups.
Erweiterte Einstellungen
Jedes Modell verfügt über erweiterte Einstellungen, die steuern, wie FIM One mit der API des Anbieters für die Extraktion strukturierter Ausgaben interagiert. Diese Einstellungen finden Sie unter dem Umschalter Erweitert im Dialog zum Erstellen/Bearbeiten von Modellen.Native Function Calling
Setting name: Native Function Calling (stored astool_choice_enabled)
Default: ON
Controls whether FIM One uses forced tool_choice for structured output extraction. This is Level 1 in the structured output degradation chain — the most reliable method when the model supports it.
When to disable:
- Your model returns errors like
"tool_choice 'specified' is incompatible with thinking enabled". This is a per-provider rule rather than a property of thinking models:deepseek-reasonerand the thinking Kimi models reject a forced tool choice, while MiniMax thinks on every call and accepts one. Table B of the Provider Capability Matrix has the verdict for each provider - Structured output requests are consistently slow with a ~10-second penalty per call, followed by a fallback to JSON Mode anyway
tool_choice="auto", which works with all models regardless of this setting.
This setting only affects forced tool selection used for structured output extraction (DAG planning, schema annotation). It does not affect the ReAct agent, which freely decides when to call tools using
tool_choice="auto".JSON Mode
Einstellungsname: JSON Mode (gespeichert alsjson_mode_enabled)
Standard: AN
Steuert, ob FIM One response_format=json_object für strukturierte Ausgaben verwendet. Dies ist Level 2 in der Degradationskette.
Wann deaktivieren:
- Ihr Provider lehnt Assistant Message Prefill ab — hauptsächlich AWS Bedrock Relays, die
"This model does not support assistant message prefill"werfen
Temperature
Default: 0.7 (inherited from the global setting if left unset) Controls the randomness of model output. Range: 0 (deterministic) to 2 (highly creative).When reasoning/extended thinking is enabled for Anthropic models, the system handles temperature: Claude 4.5 and older are sent 1.0, and Claude 4.6 and newer have the parameter removed. You do not need to set this manually.
Max Output Tokens
Die maximale Anzahl von Tokens, die das Modell in einer einzelnen Antwort generieren kann. Lassen Sie dieses Feld leer, um den Systemstandard (64.000) zu verwenden. Für lokale Modelle mit begrenztem VRAM sollten Sie diesen Wert explizit auf einen niedrigeren Wert setzen (z. B. 8192).Kontextfenstergröße
Die Größe des Kontextfensters des Modells in Token. Lassen Sie dieses Feld leer, um den Systemstandard (128.000) zu verwenden. Stellen Sie diesen Wert so ein, dass er der tatsächlichen Kapazität Ihres Modells entspricht – bei lokalen Modellen liegt dieser Wert je nach Modell und verfügbarem Speicher oft zwischen 4K und 32K.Empfohlene Konfiguration
Die meisten Modelle funktionieren korrekt mit den Standardeinstellungen (beide Schalter AN). Passen Sie die Einstellungen nur an, wenn Sie auf Fehler oder unnötige Latenz stoßen. Die folgende Tabelle behandelt häufige Anbieter und Modelle. Daten stammen aus UniAPI-Funktionsetiketten und wurden gegen das Laufzeitverhalten vom 2026-03-22 überprüft. Modellfunktionen ändern sich häufig – wenn Sie auf Fehler stoßen, überprüfen Sie die neueste Dokumentation Ihres Anbieters. Dies ist die Pro-Modell-Operatoransicht: welche Schalter beim Hinzufügen eines Modells gesetzt werden sollen. Die Anbieter-Ebenen-Regeln, denen es folgt, mit den Code-Ankern, die sie implementieren, befinden sich in der Provider Capability Matrix. Falls die beiden jemals nicht übereinstimmen, ist die Matrix maßgeblich und diese Tabelle muss aktualisiert werden.Schnellregeln
- Native FC AN für Modelle mit Funktionsaufrufen-Unterstützung (die meisten modernen Modelle)
- Native FC AUS für Modelle mit ständiger Denkfunktion, die erzwungene
tool_choiceablehnen - JSON Mode AN für die meisten Modelle (sichere Standardeinstellung)
- JSON Mode AUS nur für AWS Bedrock-Relays (Prefill-Ablehnung)
Matrix der Konfiguration pro Anbieter
OpenAI
Anthropic (Claude)
Google Gemini
DeepSeek
xAI (Grok)
Qwen (Alibaba Cloud)
Zhipu (GLM)
Moonshot (Kimi)
MiniMax
ByteDance (Doubao)
Meta (Llama)
”—” bei Max. Ausgabe bedeutet, dass der Anbieter kein Limit gemeldet hat. In der Praxis unterstützen diese Modelle normalerweise 4K-16K Ausgabe-Token. Legen Sie Max. Ausgabe-Token explizit in den erweiterten Einstellungen des Modells fest, wenn Sie einen bestimmten Wert benötigen.
Modellgruppen
Mit Modellgruppen können Sie Modelle bestimmten Rollen zuweisen und mit einem einzigen Klick zwischen Konfigurationen wechseln.Roles
FIM One uses three model roles. Each role serves a different purpose in the execution pipeline:Erstellen einer Modellgruppe
1
Öffnen Sie den Bereich "Gruppen"
Scrollen Sie auf der Seite Admin > Modelle zum Bereich Modellgruppen.
2
Klicken Sie auf "Gruppe hinzufügen"
Klicken Sie auf die Schaltfläche Gruppe hinzufügen.
3
Benennen Sie die Gruppe
Geben Sie einen aussagekräftigen Namen ein (z. B. „Production (OpenAI)”, „Budget (DeepSeek)”, „Local Dev”).
4
Weisen Sie Modelle Rollen zu
Wählen Sie für jede Rolle (General, Fast, Reasoning) ein Modell aus dem Dropdown-Menü aus. Das Dropdown-Menü zeigt alle aktiven Modelle von aktiven Anbietern, gruppiert nach Anbieter-Name. Sie können eine Rolle nicht zugewiesen lassen – sie wird dann auf das Modell „General” zurückgreifen (oder auf ENV-konfigurierte Modelle, wenn „General” ebenfalls nicht zugewiesen ist).
5
Speichern
Klicken Sie auf Erstellen. Die Gruppe ist nun zur Aktivierung verfügbar.
Activating a Group
To activate a model group, use the dropdown or activation control on the Models page. Only one group can be active at a time. Activating a group applies its model assignments to the next message in every conversation. To deactivate the current group (falling back to ENV-configured models), select the deactivate option.Domain-Aware Model Escalation
When the domain classifier detects a specialist domain — by default legal, medical, financial, tax, compliance, or patent (ESCALATION_DOMAINS) — the system automatically escalates model selection beyond the normal role assignments:
- ReAct mode: The general model is replaced by the reasoning model (
registry.get_by_role("reasoning")). This means the Reasoning slot in your Model Group is not only used for DAGmodel_hint="reasoning"steps — it also serves as the escalation target for domain-specific ReAct tasks. - DAG mode: Domain context is injected into the planner prompt, guiding it to assign
model_hint="reasoning"to steps requiring specialist accuracy.
REASONING_LLM_MODEL env var).
Related environment variables:
ENV-Fallback
Wenn keine vom Administrator konfigurierte Modellgruppe aktiv ist, greift FIM One auf ENV-basierte Konfiguration zurück:
Vom Administrator konfigurierte Modelle haben immer Vorrang vor ENV-Variablen. Die Systemgesundheitsprüfung berücksichtigt beide Quellen – solange entweder eine aktive Modellgruppe oder gültige ENV-Variablen konfiguriert sind, meldet das LLM-Subsystem einen fehlerfreien Status.
Die vollständige ENV-Referenz finden Sie unter Umgebungsvariablen.
Export and Import
The Models page supports exporting your entire provider and model configuration (providers, models, and groups) as a JSON file, and importing it on another instance. This is useful for:- Migrating configuration between development, staging, and production environments
- Sharing a known-good model setup with team members
- Backing up your configuration before making changes