Skip to content

An AI-powered search engine with a generative UI

fix: Update README and CONFIGURATION documentation for models.json path and toolCallModel description

Yoshiki Miuraae066b6b2a99
diff --git a/README.md b/README.md
index 56a1e80d..355737c2 100644
--- a/README.md
+++ b/README.md
@@ -47,7 +47,7 @@ The following AI providers are supported:
- xAI (Grok)
- OpenAI Compatible
-Models are configured in `lib/config/models.json`. Each model requires its corresponding API key to be set in the environment variables. See [Configuration Guide](docs/CONFIGURATION.md) for details.
+Models are configured in `public/config/models.json`. Each model requires its corresponding API key to be set in the environment variables. See [Configuration Guide](docs/CONFIGURATION.md) for details.
### Search Capabilities
@@ -168,7 +168,7 @@ services:
ports:
- '3000:3000'
volumes:
- - ./models.json:/app/public/config/models.json # Optional: Override default model configuration
+ - ./models.json:/app/public/config/models.json # Optional: Override default model configuration
```
The default model configuration is located at `public/config/models.json`. For Docker deployment, you can create `models.json` alongside `.env.local` to override the default configuration.
diff --git a/docs/CONFIGURATION.md b/docs/CONFIGURATION.md
index 97636a9e..c333ca1b 100644
--- a/docs/CONFIGURATION.md
+++ b/docs/CONFIGURATION.md
@@ -137,7 +137,7 @@ The `models.json` file contains an array of model configurations with the follow
"providerId": "provider-id",
"enabled": true,
"toolCallType": "native|manual",
- "toolCallModel": "tool-call-model-id" // only required if toolCallType is "manual"
+ "toolCallModel": "tool-call-model-id" // optional, only needed if toolCallType is "manual" and you need to specify a different model for tool calls
}
]
}