Merge branch 'main' of github.com:continuedev/continue into jacob/con-3141

This commit is contained in:
Jacob Kim 2025-08-05 17:50:36 -07:00
commit 2eca4c9dec
6 changed files with 25 additions and 57 deletions

View file

@ -1,5 +1,11 @@
blank_issues_enabled: false
contact_links:
- name: Something else? Message us on Discord :)
- name: Have a feature request?
url: https://github.com/orgs/community/discussions
about: Upvote existing suggestions or make a new one
- name: Have a question?
url: https://github.com/orgs/community/discussions
about: Search for existing questions or ask a new one
- name: Something else? Join the Continue Community
url: https://discord.gg/vapESyrFmJ
about: Join our Discord to ask questions, share thoughts, and more!
about: Join our Discord to chat with our community

View file

@ -1,35 +0,0 @@
---
name: 💪 Improvement suggestion
description: Share how you think Continue could be better
labels: [enhancement]
body:
- type: markdown
attributes:
value: |
Thanks for taking the time to share your perspective! We are keen to hear how you think Continue could work better for you.
- type: checkboxes
id: checkboxes
attributes:
label: Validations
description: Before submitting your suggested improvement
options:
- label: I believe this is a way to improve. I'll try to join the [Continue Discord](https://discord.gg/NWtdYexhMs) for questions
required: false
- label: I'm not able to find an [open issue](https://github.com/continuedev/continue/issues?q=is%3Aopen+is%3Aissue+label%3Aenhancement) that requests the same enhancement
required: false
- type: textarea
attributes:
label: Problem
description: Please describe the problem you are aiming to solve with this suggested improvement. If applicable, add a screenshot, gif, or video to better convey your idea.
placeholder: |
Short description
validations:
required: false
- type: textarea
attributes:
label: Solution
description: Please describe what you might want to happen to address this issue. If applicable, add a screenshot, gif, or video to better convey your idea.
placeholder: |
Short description
validations:
required: false

View file

@ -358,6 +358,9 @@ export default async function doLoadConfig(options: {
};
if (newConfig.analytics) {
// FIXME before re-enabling TeamAnalytics.setup() populate workspaceId in
// controlPlaneProxyInfo to prevent /proxy/analytics/undefined/capture calls
// where undefined is :workspaceId
// await TeamAnalytics.setup(
// newConfig.analytics,
// uniqueId,

View file

@ -20,8 +20,12 @@ export default class ContinueProxyAnalyticsProvider
event: string,
properties: { [key: string]: any },
): Promise<void> {
if (!this.controlPlaneProxyInfo?.workspaceId) {
return;
}
const url = new URL(
`proxy/analytics/${this.controlPlaneProxyInfo?.workspaceId}/capture`,
`proxy/analytics/${this.controlPlaneProxyInfo.workspaceId}/capture`,
this.controlPlaneProxyInfo?.controlPlaneProxyUrl,
).toString();
void fetch(url, {

View file

@ -11,9 +11,6 @@ export interface SearchAndReplaceInFileArgs {
export const NO_PARALLEL_TOOL_CALLING_INSRUCTION =
"Note this tool CANNOT be called in parallel.";
const SEARCH_AND_REPLACE_TOOL_DESCRIPTION = `Request to replace sections of content in an existing file using multiple SEARCH/REPLACE blocks that define exact changes to specific parts of the file. This tool should be used when you need to make targeted changes to specific parts of a file. ${NO_PARALLEL_TOOL_CALLING_INSRUCTION}`;
const SEARCH_AND_REPLACE_FILEPATH_DESCRIPTION =
"The path of the file to modify, relative to the root of the workspace.";
const SEARCH_AND_REPLACE_EXAMPLE_BLOCK = `------- SEARCH
[exact content to find]
=======
@ -40,7 +37,8 @@ const SEARCH_AND_REPLACE_RULES = `Critical rules:
* DO NOT make back-to-back tool calls. Instead interleave with brief explanation of what each will do. For example, instead of [explanation, tool call, tool call] you should do [explanation, tool call, explanation, tool call]
6. Special operations:
* To move code: Use two SEARCH/REPLACE blocks (one to delete from original + one to insert at new location)
* To delete code: Use empty REPLACE section`;
* To delete code: Use empty REPLACE section
7. You should always read the file before trying to edit it, to ensure you know the up-to-date file contents`;
const SEARCH_AND_REPLACE_DIFFS_DESCRIPTION = `An array of strings, each containing one or more SEARCH/REPLACE blocks following this exact format:
\`\`\`
@ -73,14 +71,14 @@ export const searchAndReplaceInFileTool: Tool = {
isInstant: false,
function: {
name: BuiltInToolNames.SearchAndReplaceInFile,
description: SEARCH_AND_REPLACE_TOOL_DESCRIPTION,
description: `Request to replace sections of content in an existing file using multiple SEARCH/REPLACE blocks that define exact changes to specific parts of the file. This tool should be used when you need to make targeted changes to specific parts of a file. ${NO_PARALLEL_TOOL_CALLING_INSRUCTION}`,
parameters: {
type: "object",
required: ["filepath", "diffs"],
properties: {
filepath: {
type: "string",
description: SEARCH_AND_REPLACE_FILEPATH_DESCRIPTION,
description: `The path of the file to modify, relative to the root of the workspace.`,
},
diffs: {
type: "array",
@ -94,7 +92,7 @@ export const searchAndReplaceInFileTool: Tool = {
},
systemMessageDescription: createSystemMessageExampleCall(
BuiltInToolNames.SearchAndReplaceInFile,
`To make targeted edits by replacing sections of content in an existing file, use the ${BuiltInToolNames.SearchAndReplaceInFile} tool with a "diffs" argument containing an array of SEARCH/REPLACE blocks that define exact changes to specific parts of the file.
`To make targeted edits by replacing sections of content in an existing file, use the ${BuiltInToolNames.SearchAndReplaceInFile} tool with a filepath (relative to the root of the workspace) and a "diffs" argument containing an array of SEARCH/REPLACE blocks that define exact changes to specific parts of the file.
Each block should follow this format:
${SEARCH_AND_REPLACE_EXAMPLE_BLOCK}
@ -106,16 +104,8 @@ ${SEARCH_AND_REPLACE_RULES}
[
"diffs",
`[
"------- SEARCH
[exact content to find]
=======
[new content to replace with]
+++++++ REPLACE",
"------- SEARCH
[exact content to find]
=======
[new content to replace with]
+++++++ REPLACE"
"${SEARCH_AND_REPLACE_EXAMPLE_BLOCK}",
"${SEARCH_AND_REPLACE_EXAMPLE_BLOCK}"
]`,
],
],

View file

@ -175,11 +175,11 @@ The `models` section defines the language models used in your configuration. Mod
- `roles`: An array specifying the roles this model can fulfill, such as `chat`, `autocomplete`, `embed`, `rerank`, `edit`, `apply`, `summarize`. The default value is `[chat, edit, apply, summarize]`. Note that the `summarize` role is not currently used.
- `capabilities`: Array of strings denoting model capabilities, which will overwrite Continue's autodetection based on provider and model. Supported capabilities include:
- `capabilities`: Array of strings denoting model capabilities, which will overwrite Continue's autodetection based on provider and model. See the [Model Capabilities guide](/customize/deep-dives/model-capabilities) for detailed information. Supported capabilities include:
- `tool_use`: Enables function/tool calling support (required for Agent mode)
- `image_input`: Enables image upload and processing support
Continue automatically detects these capabilities for most models, but you can override this when using custom deployments or if autodetection isn't working correctly. See the [Model Capabilities guide](/customize/deep-dives/model-capabilities) for detailed information.
Continue automatically detects these capabilities for most models, but you can override this when using custom deployments or if autodetection isn't working correctly.
- `maxStopWords`: Maximum number of stop words allowed, to avoid API errors with extensive lists.