From c82df8ab6e8e299e71ce844f4ffcaf8971603ba7 Mon Sep 17 00:00:00 2001 From: Patrick Erichsen Date: Wed, 30 Jul 2025 14:56:21 -0700 Subject: [PATCH] docs: add info on sys msg for plan + agent mode (#6829) * Update reference.mdx * Update reference.mdx * Update reference.mdx * Update how-to-customize.mdx --- docs/features/agent/how-to-customize.mdx | 15 +++++++++++++++ docs/reference.mdx | 2 ++ 2 files changed, 17 insertions(+) diff --git a/docs/features/agent/how-to-customize.mdx b/docs/features/agent/how-to-customize.mdx index a912292d2..7e5fd634b 100644 --- a/docs/features/agent/how-to-customize.mdx +++ b/docs/features/agent/how-to-customize.mdx @@ -2,6 +2,21 @@ Adding Rules can be done in your assistant locally or in the Hub. You can explore Rules on the Continue Hub and refer to the [Rules deep dive](/customize/deep-dives/rules) for more details. +## Customize System Messages + +You can customize the system messages for Chat, Agent, and Plan modes using model-level configuration: + +```yaml +models: + - name: GPT-4o + provider: openai + model: gpt-4o + chatOptions: + baseSystemMessage: "You are a helpful coding assistant." + baseAgentSystemMessage: "You are a systematic coding assistant. Break down problems methodically." + basePlanSystemMessage: "You are a planning assistant. Create clear, actionable steps." +``` + ## Add MCP Tools You can add MCP servers to your assistant to give Agent access to more tools. Explore [MCP Servers on the Hub](https://hub.continue.dev) and consult the [MCP guide](/customize/deep-dives/mcp) for more details. diff --git a/docs/reference.mdx b/docs/reference.mdx index 7ea087fc5..836d8e7dc 100644 --- a/docs/reference.mdx +++ b/docs/reference.mdx @@ -184,6 +184,8 @@ The `models` section defines the language models used in your configuration. Mod - `chatOptions`: If the model includes role `chat`, these settings apply for Chat and Agent mode: - `baseSystemMessage`: Can be used to override the default system prompt for **Chat** mode. + - `baseAgentSystemMessage`: Can be used to override the default system prompt for **Agent** mode. + - `basePlanSystemMessage`: Can be used to override the default system prompt for **Plan** mode. - `embedOptions`: If the model includes role `embed`, these settings apply for embeddings: