655
656
async acquireOrLoadSession(sessionResource: URI, location: ChatAgentLocation, token: CancellationToken, debugOwner?: string): Promise<IChatModelReference | undefined> {
658
return this.acquireOrRestoreLocalSession(sessionResource, debugOwner);
660
return this.loadRemoteSession(sessionResource, location, token, debugOwner);
661
}
663
664
private async loadRemoteSession(sessionResource: URI, location: ChatAgentLocation, token: CancellationToken, debugOwner?: string): Promise<IChatModelReference | undefined> {