mirror of
https://github.com/QwenLM/qwen-code.git
synced 2025-12-19 09:33:53 +00:00
chore(vscode-ide-companion): wip
This commit is contained in:
@@ -34,9 +34,6 @@ export type { ChatMessage, PlanEntry, ToolCallUpdateData };
|
||||
*
|
||||
* Coordinates various modules and provides unified interface
|
||||
*/
|
||||
interface AgentConnectOptions {
|
||||
autoAuthenticate?: boolean;
|
||||
}
|
||||
interface AgentSessionOptions {
|
||||
autoAuthenticate?: boolean;
|
||||
}
|
||||
@@ -192,14 +189,12 @@ export class QwenAgentManager {
|
||||
async connect(
|
||||
workingDir: string,
|
||||
cliEntryPath: string,
|
||||
options?: AgentConnectOptions,
|
||||
): Promise<QwenConnectionResult> {
|
||||
this.currentWorkingDir = workingDir;
|
||||
return this.connectionHandler.connect(
|
||||
this.connection,
|
||||
workingDir,
|
||||
cliEntryPath,
|
||||
options,
|
||||
);
|
||||
}
|
||||
|
||||
|
||||
@@ -576,7 +576,6 @@ export class WebViewProvider {
|
||||
const connectResult = await this.agentManager.connect(
|
||||
workingDir,
|
||||
bundledCliEntry,
|
||||
options,
|
||||
);
|
||||
console.log('[WebViewProvider] Agent connected successfully');
|
||||
this.agentInitialized = true;
|
||||
|
||||
Reference in New Issue
Block a user