Skip to content

Commit 87be074

Browse files
committed
Fix WEBSEARCH_HEADERS description in reference, add web search note to getting-started
- Reference page: correct WEBSEARCH_HEADERS from "JSON object" to colon-CSV format with cross-reference to MCP page - Getting started: add NOTE about enabling web search with link to full MCP/web configuration
1 parent c650270 commit 87be074

2 files changed

Lines changed: 3 additions & 1 deletion

File tree

modules/ROOT/pages/tinymceai-on-premises-getting-started.adoc

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -197,6 +197,8 @@ docker run --init -d -p 8000:8000 \
197197

198198
TIP: The network name is typically `<foldername>_default` (e.g., `tinymce-ai-onpremise_default` for the folder created above). Run `docker network ls` to confirm the exact name — Docker Compose versions format it differently. For multiple LLM providers, extend the `PROVIDERS` JSON: `{"openai":{...},"anthropic":{...}}`.
199199

200+
NOTE: The launch command above starts the AI service with basic conversation support. To enable *web search* in conversations, add `WEBSEARCH_ENABLED='true'` and `WEBSEARCH_ENDPOINT` (pointing to a search backend) to the `docker run` command. See xref:tinymceai-on-premises-mcp.adoc#web-scraping-and-search[Web scraping and web search] for the full configuration, endpoint contracts, and a SerpAPI example.
201+
200202
For Podman, replace `docker run` with `podman run` and use a Podman pod instead of a compose network. See xref:tinymceai-on-premises-production.adoc[Production deployment] for Podman-specific guidance. See xref:tinymceai-on-premises-production.adoc#_podman_deployment[Podman deployment] for a full example.
201203

202204
For native databases (the database runs on the host or in a managed service rather than in Docker), drop the `--network` flag and set `DATABASE_HOST=host.docker.internal` (Docker Desktop and Podman 4{plus}). On native Linux Docker, additionally pass `--add-host=host.docker.internal:host-gateway`.

modules/ROOT/pages/tinymceai-on-premises-reference.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ Alphabetized. Required-ness is marked relative to a minimum working deployment.
6262
|`WEBRESOURCES_REQUEST_TIMEOUT` |No |- |Scraper request timeout in ms.
6363
|`WEBSEARCH_ENABLED` |No |`false` |Enable web search forwarding. See xref:tinymceai-on-premises-mcp.adoc#web-scraping-and-search[Web scraping and web search].
6464
|`WEBSEARCH_ENDPOINT` |If web search enabled |- |Search URL.
65-
|`WEBSEARCH_HEADERS` |No |- |JSON object; extra headers sent to the search endpoint.
65+
|`WEBSEARCH_HEADERS` |No |- |Colon-CSV format (`Header-Name: value, Another: value`). Extra headers sent to the search endpoint. Do not use JSON — see xref:tinymceai-on-premises-mcp.adoc#web-scraping-and-search[Web scraping and web search].
6666
|`WEBSEARCH_REQUEST_TIMEOUT` |No |- |Search request timeout in ms.
6767
|===
6868

0 commit comments

Comments
 (0)