Skip to content

Commit 76ea96e

Browse files
committed
added
1 parent b7896be commit 76ea96e

File tree

5 files changed

+9
-6
lines changed

5 files changed

+9
-6
lines changed

src/activate/registerCommands.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ const openClineInNewTab = async ({ context, outputChannel }: Omit<RegisterComman
106106

107107
const targetCol = hasVisibleEditors ? Math.max(lastCol + 1, 1) : vscode.ViewColumn.Two
108108

109-
const newPanel = vscode.window.createWebviewPanel(ClineProvider.tabPanelId, "Roo Code", targetCol, {
109+
const newPanel = vscode.window.createWebviewPanel(ClineProvider.tabPanelId, "Agent", targetCol, {
110110
enableScripts: true,
111111
retainContextWhenHidden: true,
112112
localResourceRoots: [context.extensionUri],

src/api/providers/pearai/pearai.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ export class PearAiHandler extends BaseProvider implements SingleCompletionHandl
6262
private async initializeHandler(options: ApiHandlerOptions): Promise<void> {
6363
const modelId = options.apiModelId || "pearai-model"
6464

65-
if (modelId === "pearai-model") {
65+
if (modelId.startsWith("pearai-model")) {
6666
try {
6767
const response = await fetch(`${PEARAI_URL}/getPearAIAgentModels`)
6868
if (!response.ok) {

src/core/Cline.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3294,7 +3294,7 @@ export class Cline extends EventEmitter<ClineEvents> {
32943294
"mistake_limit_reached",
32953295
this.api.getModel().id.includes("claude")
32963296
? `This may indicate a failure in his thought process or inability to use a tool properly, which can be mitigated with some user guidance (e.g. "Try breaking down the task into smaller steps").`
3297-
: "Roo Code uses complex prompts and iterative task execution that may be challenging for less capable models. For best results, it's recommended to use Claude 3.7 Sonnet for its advanced agentic coding capabilities.",
3297+
: "Agent uses complex prompts and iterative task execution that may be challenging for less capable models. For best results, it's recommended to use Claude 3.7 Sonnet for its advanced agentic coding capabilities.",
32983298
)
32993299
if (response === "messageResponse") {
33003300
userContent.push(

src/extension.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -170,7 +170,7 @@ export function activate(context: vscode.ExtensionContext) {
170170
// )
171171

172172
const openClineInNewTab = async () => {
173-
outputChannel.appendLine("Opening Roo Code in new tab")
173+
outputChannel.appendLine("Opening Agent in new tab")
174174
// (this example uses webviewProvider activation event which is necessary to deserialize cached webview, but since we use retainContextWhenHidden, we don't need to use that event)
175175
// https://github.com/microsoft/vscode-extension-samples/blob/main/webview-sample/src/extension.ts
176176
const tabProvider = new ClineProvider(context, outputChannel)
@@ -184,7 +184,7 @@ export function activate(context: vscode.ExtensionContext) {
184184
}
185185
const targetCol = hasVisibleEditors ? Math.max(lastCol + 1, 1) : vscode.ViewColumn.Two
186186

187-
const panel = vscode.window.createWebviewPanel(ClineProvider.tabPanelId, "Roo Code", targetCol, {
187+
const panel = vscode.window.createWebviewPanel(ClineProvider.tabPanelId, "Agent", targetCol, {
188188
enableScripts: true,
189189
retainContextWhenHidden: true,
190190
localResourceRoots: [context.extensionUri],

src/services/mcp/McpHub.ts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -220,7 +220,10 @@ export class McpHub {
220220
mcpSettingsFilePath,
221221
`{
222222
"mcpServers": {
223+
<<<<<<< Updated upstream
223224
225+
=======
226+
>>>>>>> Stashed changes
224227
}
225228
}`,
226229
)
@@ -390,7 +393,7 @@ export class McpHub {
390393
try {
391394
const client = new Client(
392395
{
393-
name: "Roo Code",
396+
name: "Agent",
394397
version: this.providerRef.deref()?.context.extension?.packageJSON?.version ?? "1.0.0",
395398
},
396399
{

0 commit comments

Comments
 (0)