We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a831ce0 commit 51f3d4dCopy full SHA for 51f3d4d
src/extension/agents/copilotcli/node/copilotcliSessionService.ts
@@ -154,6 +154,10 @@ export class CopilotCLISessionService implements ICopilotCLISessionService {
154
const sessionManager = await this.getSessionManager();
155
156
if (sessionId) {
157
+ if (this._sessions.has(sessionId)) {
158
+ return this._sessions.get(sessionId)!.sdkSession;
159
+ }
160
+
161
try {
162
const sdkSession = await sessionManager.getSession(sessionId);
163
0 commit comments