An AI-powered search engine with a generative UI
TypeScript generative-aigenerative-uinextjsollamareactsearxngshadcn-uitailwindcsstavilytypescriptupstashvercel-ai-sdk
chore: remove static Ollama placeholders
Yoshiki Miura7aab7238e985
diff --git a/docs/CONFIGURATION.md b/docs/CONFIGURATION.mdindex c333ca1b..d41f5812 100644--- a/docs/CONFIGURATION.md+++ b/docs/CONFIGURATION.md@@ -123,6 +123,8 @@ docker-compose logs searxngModels are configured in `public/config/models.json`. Each model 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 ConfigurationThe `models.json` file contains an array of model configurations with the following structure:@@ -169,6 +171,8 @@ GROQ_API_KEY=[YOUR_API_KEY]OLLAMA_BASE_URL=http://localhost:11434```+When this variable is set, Morphic will automatically discover Ollama models that advertise the `tools` capability. Models without this capability are ignored, and no static configuration in `models.json` is required unless you need to override specific settings.+### Azure OpenAI```bashdiff --git a/lib/config/default-models.json b/lib/config/default-models.jsonindex 9e28a289..dd66349d 100644--- a/lib/config/default-models.json+++ b/lib/config/default-models.json@@ -158,24 +158,6 @@"enabled": true,"toolCallType": "native"},- {- "id": "deepseek-r1",- "name": "DeepSeek R1",- "provider": "Ollama",- "providerId": "ollama",- "enabled": true,- "toolCallType": "manual",- "toolCallModel": "phi4"- },- {- "id": "<OLLAMA_MODEL_ID>",- "name": "<OLLAMA_MODEL_NAME>",- "provider": "Ollama",- "providerId": "ollama",- "enabled": true,- "toolCallType": "manual",- "toolCallModel": "<OLLAMA_MODEL_ID>"- },{"id": "grok-2-1212","name": "Grok 2",diff --git a/public/config/models.json b/public/config/models.jsonindex 9e28a289..dd66349d 100644--- a/public/config/models.json+++ b/public/config/models.json@@ -158,24 +158,6 @@"enabled": true,"toolCallType": "native"},- {- "id": "deepseek-r1",- "name": "DeepSeek R1",- "provider": "Ollama",- "providerId": "ollama",- "enabled": true,- "toolCallType": "manual",- "toolCallModel": "phi4"- },- {- "id": "<OLLAMA_MODEL_ID>",- "name": "<OLLAMA_MODEL_NAME>",- "provider": "Ollama",- "providerId": "ollama",- "enabled": true,- "toolCallType": "manual",- "toolCallModel": "<OLLAMA_MODEL_ID>"- },{"id": "grok-2-1212","name": "Grok 2",