Skip to content

An AI-powered search engine with a generative UI

chore: Update Ollama model examples and remove unused file

Yoshiki Miura79c814a4bf32
diff --git a/docs/CONFIGURATION.md b/docs/CONFIGURATION.md
index 7ec30627..2cbbdb45 100644
--- a/docs/CONFIGURATION.md
+++ b/docs/CONFIGURATION.md
@@ -93,8 +93,6 @@ docker-compose logs searxng
Models are configured in `config/models/*.json` files. Each provider requires its corresponding API key to be set in the environment variables.
-> **Note:** Ollama models are discovered dynamically at runtime when an Ollama server is available. Only models that expose the `tools` capability will appear in Morphic, so you no longer need to keep placeholder Ollama entries in `models.json`.
-
### Model Configuration
Model configuration files use the following structure:
diff --git a/lib/config/default-models.json b/lib/config/default-models.json
deleted file mode 100644
index dd66349d..00000000
--- a/lib/config/default-models.json
+++ /dev/null
@@ -1,194 +0,0 @@
-{
- "models": [
- {
- "id": "gpt-4.1",
- "name": "GPT-4.1",
- "provider": "OpenAI",
- "providerId": "openai",
- "enabled": true,
- "toolCallType": "native"
- },
- {
- "id": "gpt-4.1-mini",
- "name": "GPT-4.1 mini",
- "provider": "OpenAI",
- "providerId": "openai",
- "enabled": true,
- "toolCallType": "native"
- },
- {
- "id": "gpt-4.1-nano",
- "name": "GPT-4.1 nano",
- "provider": "OpenAI",
- "providerId": "openai",
- "enabled": true,
- "toolCallType": "native"
- },
- {
- "id": "o3-mini",
- "name": "o3 mini",
- "provider": "OpenAI",
- "providerId": "openai",
- "enabled": true,
- "toolCallType": "native"
- },
- {
- "id": "gpt-4o",
- "name": "GPT-4o",
- "provider": "OpenAI",
- "providerId": "openai",
- "enabled": true,
- "toolCallType": "native"
- },
- {
- "id": "gpt-4o-mini",
- "name": "GPT-4o mini",
- "provider": "OpenAI",
- "providerId": "openai",
- "enabled": true,
- "toolCallType": "native"
- },
- {
- "id": "claude-3-7-sonnet-20250219",
- "name": "Claude 3.7 Sonnet",
- "provider": "Anthropic",
- "providerId": "anthropic",
- "enabled": true,
- "toolCallType": "native"
- },
- {
- "id": "claude-3-5-sonnet-latest",
- "name": "Claude 3.5 Sonnet",
- "provider": "Anthropic",
- "providerId": "anthropic",
- "enabled": true,
- "toolCallType": "native"
- },
- {
- "id": "claude-3-5-haiku-20241022",
- "name": "Claude 3.5 Haiku",
- "provider": "Anthropic",
- "providerId": "anthropic",
- "enabled": true,
- "toolCallType": "native"
- },
- {
- "id": "<AZURE_DEPLOYMENT_NAME>",
- "name": "<AZURE_DEPLOYMENT_NAME>",
- "provider": "Azure",
- "providerId": "azure",
- "enabled": true,
- "toolCallType": "native"
- },
- {
- "id": "gemini-2.0-flash",
- "name": "Gemini 2.0 Flash",
- "provider": "Google Generative AI",
- "providerId": "google",
- "enabled": true,
- "toolCallType": "manual"
- },
- {
- "id": "gemini-2.0-flash-thinking-exp-01-21",
- "name": "Gemini 2.0 Flash Thinking (Exp)",
- "provider": "Google Generative AI",
- "providerId": "google",
- "enabled": true,
- "toolCallType": "manual",
- "toolCallModel": "gemini-2.0-flash"
- },
- {
- "id": "gemini-2.5-pro-exp-03-25",
- "name": "Gemini 2.5 Pro (Exp)",
- "provider": "Google Generative AI",
- "providerId": "google",
- "enabled": true,
- "toolCallType": "manual",
- "toolCallModel": "gemini-2.0-flash"
- },
- {
- "id": "accounts/fireworks/models/deepseek-r1",
- "name": "DeepSeek R1",
- "provider": "Fireworks",
- "providerId": "fireworks",
- "enabled": true,
- "toolCallType": "manual",
- "toolCallModel": "accounts/fireworks/models/llama-v3p1-8b-instruct"
- },
- {
- "id": "accounts/fireworks/models/llama4-maverick-instruct-basic",
- "name": "Llama 4 Maverick",
- "provider": "Fireworks",
- "providerId": "fireworks",
- "enabled": true,
- "toolCallType": "manual",
- "toolCallModel": "accounts/fireworks/models/llama-v3p1-8b-instruct"
- },
- {
- "id": "deepseek-reasoner",
- "name": "DeepSeek R1",
- "provider": "DeepSeek",
- "providerId": "deepseek",
- "enabled": true,
- "toolCallType": "manual",
- "toolCallModel": "deepseek-chat"
- },
- {
- "id": "deepseek-chat",
- "name": "DeepSeek V3",
- "provider": "DeepSeek",
- "providerId": "deepseek",
- "enabled": true,
- "toolCallType": "manual"
- },
- {
- "id": "deepseek-r1-distill-llama-70b",
- "name": "DeepSeek R1 Distill Llama 70B",
- "provider": "Groq",
- "providerId": "groq",
- "enabled": true,
- "toolCallType": "manual",
- "toolCallModel": "llama-3.1-8b-instant"
- },
- {
- "id": "meta-llama/llama-4-maverick-17b-128e-instruct",
- "name": "Llama 4 Maverick 17B",
- "provider": "Groq",
- "providerId": "groq",
- "enabled": true,
- "toolCallType": "native"
- },
- {
- "id": "grok-2-1212",
- "name": "Grok 2",
- "provider": "xAI",
- "providerId": "xai",
- "enabled": true,
- "toolCallType": "native"
- },
- {
- "id": "grok-2-vision-1212",
- "name": "Grok 2 Vision",
- "provider": "xAI",
- "providerId": "xai",
- "enabled": true,
- "toolCallType": "native"
- },
- {
- "id": "grok-3-beta",
- "name": "Grok 3 Beta",
- "provider": "xAI",
- "providerId": "xai",
- "enabled": true,
- "toolCallType": "native"
- },
- {
- "id": "<OPENAI_COMPATIBLE_MODEL>",
- "name": "<OPENAI_COMPATIBLE_MODEL>",
- "provider": "OpenAI Compatible",
- "providerId": "openai-compatible",
- "enabled": true,
- "toolCallType": "native"
- }
- ]
-}
diff --git a/lib/config/ollama-validator.ts b/lib/config/ollama-validator.ts
index 1c7545b8..91ebc366 100644
--- a/lib/config/ollama-validator.ts
+++ b/lib/config/ollama-validator.ts
@@ -113,9 +113,9 @@ export async function initializeOllamaValidation(): Promise<void> {
invalidModels.map(m => ` - ${m}`).join('\n') +
'\n\nMorphic requires models with tools capability for web search functionality.\n' +
'Please update your configuration to use models with tools support, for example:\n' +
- ' ollama pull llama3.2\n' +
- ' ollama pull qwen2.5\n' +
- ' ollama pull mistral\n'
+ ' ollama pull qwen3\n' +
+ ' ollama pull gpt-oss\n' +
+ ' ollama pull deepseek-v3.1\n'
)
}
}
@@ -129,9 +129,9 @@ export async function initializeOllamaValidation(): Promise<void> {
'\n⚠️ ERROR: No Ollama models with tools support found!\n' +
'Morphic requires models with tools capability for web search functionality.\n' +
'Please install a model with tools support, for example:\n' +
- ' ollama pull llama3.2\n' +
- ' ollama pull qwen2.5\n' +
- ' ollama pull mistral\n' +
+ ' ollama pull qwen3\n' +
+ ' ollama pull gpt-oss\n' +
+ ' ollama pull deepseek-v3.1\n' +
'Models without tools support will not work with Morphic.\n'
)
}