Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/activate/registerCommands.ts
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ const openClineInNewTab = async ({ context, outputChannel }: Omit<RegisterComman

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

const newPanel = vscode.window.createWebviewPanel(ClineProvider.tabPanelId, "Roo Code", targetCol, {
const newPanel = vscode.window.createWebviewPanel(ClineProvider.tabPanelId, "Agent", targetCol, {
enableScripts: true,
retainContextWhenHidden: true,
localResourceRoots: [context.extensionUri],
Expand Down
2 changes: 1 addition & 1 deletion src/api/providers/pearai/pearai.ts
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ export class PearAiHandler extends BaseProvider implements SingleCompletionHandl
private async initializeHandler(options: ApiHandlerOptions): Promise<void> {
const modelId = options.apiModelId || "pearai-model"

if (modelId === "pearai-model") {
if (modelId.startsWith("pearai-model")) {
try {
const response = await fetch(`${PEARAI_URL}/getPearAIAgentModels`)
if (!response.ok) {
Expand Down
2 changes: 1 addition & 1 deletion src/core/Cline.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3294,7 +3294,7 @@ export class Cline extends EventEmitter<ClineEvents> {
"mistake_limit_reached",
this.api.getModel().id.includes("claude")
? `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").`
: "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.",
: "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.",
)
if (response === "messageResponse") {
userContent.push(
Expand Down
4 changes: 2 additions & 2 deletions src/extension.ts
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,7 @@ export function activate(context: vscode.ExtensionContext) {
// )

const openClineInNewTab = async () => {
outputChannel.appendLine("Opening Roo Code in new tab")
outputChannel.appendLine("Opening Agent in new tab")
// (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)
// https://github.com/microsoft/vscode-extension-samples/blob/main/webview-sample/src/extension.ts
const tabProvider = new ClineProvider(context, outputChannel)
Expand All @@ -184,7 +184,7 @@ export function activate(context: vscode.ExtensionContext) {
}
const targetCol = hasVisibleEditors ? Math.max(lastCol + 1, 1) : vscode.ViewColumn.Two

const panel = vscode.window.createWebviewPanel(ClineProvider.tabPanelId, "Roo Code", targetCol, {
const panel = vscode.window.createWebviewPanel(ClineProvider.tabPanelId, "Agent", targetCol, {
enableScripts: true,
retainContextWhenHidden: true,
localResourceRoots: [context.extensionUri],
Expand Down
3 changes: 1 addition & 2 deletions src/services/mcp/McpHub.ts
Original file line number Diff line number Diff line change
Expand Up @@ -220,7 +220,6 @@ export class McpHub {
mcpSettingsFilePath,
`{
"mcpServers": {

}
}`,
)
Expand Down Expand Up @@ -390,7 +389,7 @@ export class McpHub {
try {
const client = new Client(
{
name: "Roo Code",
name: "Agent",
version: this.providerRef.deref()?.context.extension?.packageJSON?.version ?? "1.0.0",
},
{
Expand Down
Loading