아키텍처: 제공자, 모델, 그룹
FIM One은 LLM 구성을 세 가지 계층으로 정리합니다: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.
고급 설정
각 모델에는 FIM One이 구조화된 출력 추출을 위해 제공자의 API와 상호작용하는 방식을 제어하는 고급 설정이 있습니다. 이러한 설정은 모델 생성/편집 대화상자의 Advanced 토글 아래에 있습니다.네이티브 함수 호출
설정 이름: Native Function Calling (저장 이름:tool_choice_enabled)
기본값: ON
FIM One이 구조화된 출력 추출을 위해 강제 tool_choice를 사용할지 여부를 제어합니다. 이는 구조화된 출력 저하 체인의 Level 1입니다 — 모델이 지원할 때 가장 신뢰할 수 있는 방법입니다.
비활성화할 때:
- 모델이
"tool_choice 'specified' is incompatible with thinking enabled"와 같은 오류를 반환합니다. 이는 사고 모델의 속성이 아닌 제공자별 규칙입니다:deepseek-reasoner와 사고 기능이 있는 Kimi 모델은 강제 도구 선택을 거부하지만, MiniMax는 모든 호출에서 사고하고 이를 수락합니다. 제공자 기능 매트릭스의 표 B에는 각 제공자에 대한 판정이 있습니다 - 구조화된 출력 요청이 호출당 약 10초의 페널티로 일관되게 느리고, 그 후 JSON Mode로 폴백됩니다
tool_choice="auto"를 사용합니다.
이 설정은 구조화된 출력 추출에 사용되는 강제 도구 선택(DAG 계획, 스키마 주석)에만 영향을 미칩니다. ReAct 에이전트에는 영향을 미치지 않으며, 이는
tool_choice="auto"를 사용하여 자유롭게 도구 호출 시기를 결정합니다.JSON Mode
Setting name: JSON Mode (stored asjson_mode_enabled)
Default: ON
FIM One이 구조화된 출력을 위해 response_format=json_object를 사용하는지 여부를 제어합니다. 이는 성능 저하 체인의 Level 2입니다.
비활성화할 시기:
- 제공자가 어시스턴트 메시지 프리필을 거부하는 경우 — 주로 AWS Bedrock 릴레이로,
"This model does not support assistant message prefill"오류를 발생시킵니다.
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.
최대 출력 토큰
모델이 단일 응답에서 생성할 수 있는 최대 토큰 수입니다. 시스템 기본값(64,000)을 사용하려면 비워두세요. VRAM이 제한된 로컬 모델의 경우 이를 더 낮은 값(예: 8192)으로 명시적으로 설정하세요.컨텍스트 크기
모델의 컨텍스트 윈도우 크기(토큰 단위). 시스템 기본값(128,000)을 사용하려면 비워두세요. 로컬 모델의 경우 모델과 사용 가능한 메모리에 따라 4K-32K인 경우가 많으므로 모델의 실제 기능과 일치하도록 설정하세요.권장 구성
대부분의 모델은 기본 설정(두 토글 모두 ON)으로 올바르게 작동합니다. 오류나 불필요한 지연이 발생할 때만 조정하세요. 아래 표는 일반적인 제공자와 모델을 다룹니다. 데이터는 UniAPI 기능 태그에서 소싱되었으며 2026-03-22 기준 런타임 동작에 대해 검증되었습니다. 모델 기능은 자주 변경됩니다 — 오류가 발생하면 제공자의 최신 문서를 확인하세요. 이것은 모델을 추가할 때 어떤 토글을 설정할지에 대한 모델별 운영자 보기입니다. 이것이 따르는 제공자 수준의 규칙과 이를 구현하는 코드 앵커는 Provider Capability Matrix에 있습니다. 둘이 불일치하는 경우 행렬이 권위 있으며 이 표를 업데이트해야 합니다.빠른 규칙
- Native FC ON 함수 호출을 지원하는 모델의 경우 (대부분의 최신 모델)
- Native FC OFF 강제
tool_choice를 거부하는 항상 사고 중인 모델의 경우 - JSON Mode ON 대부분의 모델의 경우 (안전한 기본값)
- JSON Mode OFF AWS Bedrock 릴레이의 경우만 (프리필 거부)
제공자별 구성 매트릭스
OpenAI
Anthropic (Claude)
Google Gemini
DeepSeek
xAI (Grok)
Qwen (Alibaba Cloud)
Zhipu (GLM)
Moonshot (Kimi)
MiniMax
ByteDance (Doubao)
Meta (Llama)
Max Output의 ”—” 는 제공자가 제한을 보고하지 않았음을 의미합니다. 실제로 이러한 모델은 일반적으로 4K-16K 출력 토큰을 지원합니다. 특정 값이 필요한 경우 모델의 Advanced 설정에서 Max Output Tokens을 명시적으로 설정하세요.
모델 그룹
모델 그룹을 사용하면 모델을 특정 역할에 할당하고 한 번의 클릭으로 구성을 전환할 수 있습니다.Roles
FIM One uses three model roles. Each role serves a different purpose in the execution pipeline:모델 그룹 생성
1
Groups 섹션 열기
Admin > Models 페이지에서 Model Groups 섹션으로 스크롤합니다.
2
Add Group 클릭
Add Group 버튼을 클릭합니다.
3
그룹 이름 지정
설명적인 이름을 입력합니다 (예: “Production (OpenAI)”, “Budget (DeepSeek)”, “Local Dev”).
4
역할에 모델 할당
각 역할(General, Fast, Reasoning)에 대해 드롭다운에서 모델을 선택합니다. 드롭다운에는 활성 제공자의 모든 활성 모델이 제공자 이름별로 그룹화되어 표시됩니다. 역할을 할당하지 않은 채로 둘 수 있습니다 — General 모델로 폴백되거나 General도 할당되지 않은 경우 ENV 구성 모델로 폴백됩니다.
5
저장
Create를 클릭합니다. 이제 그룹을 활성화할 수 있습니다.
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 폴백
활성 관리자 구성 모델 그룹이 없을 때 FIM One은 ENV 기반 구성으로 폴백합니다:
관리자 구성 모델은 항상 ENV 변수보다 우선합니다. 시스템 상태 확인은 두 소스를 모두 고려합니다. 활성 모델 그룹 또는 유효한 ENV 변수 중 하나라도 구성되어 있으면 LLM 서브시스템은 정상으로 보고됩니다.
전체 ENV 참조는 환경 변수를 참조하세요.
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