From 55339072d061ea00fd57c2b756caed3b6a172eca Mon Sep 17 00:00:00 2001 From: Patrick Erichsen Date: Mon, 22 Sep 2025 16:22:19 -0700 Subject: [PATCH] ty feedback --- docs/docs.json | 2 +- ...mdx => configuring-models-rules-tools.mdx} | 46 +++++++++---------- 2 files changed, 24 insertions(+), 24 deletions(-) rename docs/guides/{understanding-models-rules-tools.mdx => configuring-models-rules-tools.mdx} (96%) diff --git a/docs/docs.json b/docs/docs.json index f0fb00940..4424d41e4 100644 --- a/docs/docs.json +++ b/docs/docs.json @@ -230,7 +230,7 @@ "pages": [ "guides/overview", "guides/understanding-agents", - "guides/understanding-models-rules-tools", + "guides/configuring-models-rules-tools", "guides/codebase-documentation-awareness", "guides/cli", "guides/continuous-ai", diff --git a/docs/guides/understanding-models-rules-tools.mdx b/docs/guides/configuring-models-rules-tools.mdx similarity index 96% rename from docs/guides/understanding-models-rules-tools.mdx rename to docs/guides/configuring-models-rules-tools.mdx index 703bb4ab6..95d8fa40c 100644 --- a/docs/guides/understanding-models-rules-tools.mdx +++ b/docs/guides/configuring-models-rules-tools.mdx @@ -1,5 +1,5 @@ --- -title: "Understanding Models, Rules, and Tools" +title: "Configuring Models, Rules, and Tools" description: "Learn how to work with Continue's configuration system. Understand how to use hub models, rules, and tools, create local configurations, and organize your setup for maximum reusability." --- @@ -24,32 +24,15 @@ MCP tools that provide additional capabilities like database access, web search, There are two places where you can define these configurations: - -Pre-built models, rules, and tools from the Continue community that you can import and use immediately - - Custom configurations you create and manage in your workspace or globally + + +Pre-built models, rules, and tools from the Continue community that you can import and use immediately + -## Hub - -Hub items are identified by slugs in the format `owner/item-name`. For example, to use the [Claude 4 Sonnet model](https://hub.continue.dev/anthropic/claude-4-sonnet), you'd reference it as `anthropic/claude-4-sonnet`. - -Import from the hub using the `uses` syntax alongside your custom configurations: - -```yaml config.yaml highlight={6} -name: Team Agent -version: 1.0.0 -schema: v1 - -models: - - uses: anthropic/claude-4-sonnet - with: - ANTHROPIC_API_KEY: ${{ secrets.ANTHROPIC_API_KEY }} # Use a hub secret -``` - ## Local Local configurations let you create custom models, rules, and tools that automatically apply to multiple agents, reducing duplication and ensuring consistency across your setup. @@ -131,6 +114,23 @@ models: Note that hub secrets can be passed as inputs using the mustache format: `${{ secrets.SECRET_NAME }}`. +## Hub + +Hub items are identified by slugs in the format `owner/item-name`. For example, to use the [Claude 4 Sonnet model](https://hub.continue.dev/anthropic/claude-4-sonnet), you'd reference it as `anthropic/claude-4-sonnet`. + +Import from the hub using the `uses` syntax alongside your custom configurations: + +```yaml config.yaml highlight={6} +name: Team Agent +version: 1.0.0 +schema: v1 + +models: + - uses: anthropic/claude-4-sonnet + with: + ANTHROPIC_API_KEY: ${{ secrets.ANTHROPIC_API_KEY }} # Use a hub secret +``` + ## Overriding Properties You can directly override properties using the `override` syntax: @@ -157,4 +157,4 @@ Now that you understand how models, rules, and tools work, explore: - **[Config Reference](/reference)**: Detailed documentation of all available properties - **[Continue Hub](https://hub.continue.dev)**: Browse community models, rules, and tools - **[Custom Context Providers](/customize/deep-dives/custom-providers)**: Create advanced context integrations -- **[Model Roles](/customize/model-roles/overview)**: Understanding how different models work together +- **[Model Roles](/customize/model-roles/intro)**: Understanding how different models work together