diff --git a/src/api/providers/openrouter.ts b/src/api/providers/openrouter.ts index 0d9bf255eb..1ba9650ac7 100644 --- a/src/api/providers/openrouter.ts +++ b/src/api/providers/openrouter.ts @@ -146,7 +146,6 @@ export class OpenRouterHandler extends BaseProvider implements SingleCompletionH const baseURL = this.options.openRouterBaseUrl || "https://api.matterai.so/v1/web" const apiKey = this.options.openRouterApiKey ?? "not-provided" - // this.client = new OpenAI({ baseURL, apiKey, defaultHeaders: DEFAULT_HEADERS }) this.client = new OpenAI({ baseURL, apiKey, defaultHeaders: DEFAULT_HEADERS }) } diff --git a/src/core/prompts/system.ts b/src/core/prompts/system.ts index 8c126b41d0..7a1b0bf9c7 100644 --- a/src/core/prompts/system.ts +++ b/src/core/prompts/system.ts @@ -291,6 +291,48 @@ Before submitting, verify: ### Remember **Always quote the file_pattern value or use null. Never use bare/unquoted glob patterns.** + +## execute_command + +### Common CLI packages + +- \`npm\` - Node Package Manager +- \`yarn\` - Yarn Package Manager +- \`pnpm\` - PNPM Package Manager +- \`git\` - Git Version Control System +- \`docker\` - Docker Container Management +- \`kubectl\` - Kubernetes Command Line Tool +- \`helm\` - Helm Package Manager +- \`kubectl\` - Kubernetes Command Line Tool +- \`aws\` - AWS Command Line Tool +- \`gcloud\` - Google Cloud Command Line Tool +- \`az\` - Azure Command Line Tool +- \`heroku\` - Heroku Command Line Tool +- \`terraform\` - Terraform Command Line Tool +- \`ansible\` - Ansible Command Line Tool +- \`chef\` - Chef Command Line Tool +- \`puppet\` - Puppet Command Line Tool +- \`java\` - Java Development Kit +- \`javac\` - Java Compiler +- \`javap\` - Java Decompiler +- \`javapackager\` - Java Packager +- \`javapackager\` - Java Packager +- \`python\` - Python Programming Language +- \`pip\` - Python Package Manager +- \`pipenv\` - Python Package Manager +- \`poetry\` - Python Package Manager +- \`virtualenv\` - Python Virtual Environment + + +CRITICAL: +1. A command never starts with \`:\` +2. A command never uses <|tool_call_argument_begin|> OR any <> TAG +3. A command is never empty or \`:\` +4. A command is never a single word or a single word with a space +5. Commands are always valid for the user's operating system +6. Commands are always valid for the user's shell +7. Commands are always valid with executable permissions +8. Commands are always valid with the user's current working directory ` async function generatePrompt( diff --git a/src/i18n/locales/en/kilocode.json b/src/i18n/locales/en/kilocode.json index 9b5e7e0335..9da52d2f71 100644 --- a/src/i18n/locales/en/kilocode.json +++ b/src/i18n/locales/en/kilocode.json @@ -12,7 +12,7 @@ "message": "Check to see if you can top up with free credits or purchase some more!" }, "task": { - "noAssistantMessages": "The model's response ended unexpectedly (no assistant messages). This may be a sign of rate limiting.", + "noAssistantMessages": "Encountered an error while generating a response. Trying auto-repair, if I'm unable to repair the error, please send a 'Continue' message.", "notLoggedInError": "Cannot complete request, make sure you are connected and logged in with the selected provider.\n\n{{error}}", "maxCompletionTokens": "The maximum number of completion tokens was reached.", "disableApplyDiff": "If this error keep reoccuring, please disable Editing Through Diffs in Advanced Settings.", diff --git a/src/package.json b/src/package.json index e06a649d74..326a122ef2 100644 --- a/src/package.json +++ b/src/package.json @@ -3,7 +3,7 @@ "displayName": "%extension.displayName%", "description": "%extension.description%", "publisher": "matterai", - "version": "4.116.0", + "version": "4.117.0", "icon": "assets/icons/matterai-ic.png", "galleryBanner": { "color": "#FFFFFF", diff --git a/webview-ui/src/components/chat/ChatView.tsx b/webview-ui/src/components/chat/ChatView.tsx index 63fe8a1a04..70abe679a5 100644 --- a/webview-ui/src/components/chat/ChatView.tsx +++ b/webview-ui/src/components/chat/ChatView.tsx @@ -394,11 +394,11 @@ const ChatViewComponent: React.ForwardRefRenderFunction