MCPcopy Index your code
hub / github.com/continuedev/continue / setSession

Method setSession

extensions/cli/src/session.ts:111–114  ·  view source on GitHub ↗
(session: Session)

Source from the content-addressed store, hash-verified

109 }
110
111 setSession(session: Session): void {
112 this.currentSession = session;
113 this.syncUsageFromSession();
114 }
115
116 updateHistory(history: ChatHistoryItem[]): void {
117 const session = this.getCurrentSession();

Callers 4

loadSessionFunction · 0.80
createSessionFunction · 0.80
loadOrCreateSessionByIdFunction · 0.80
startNewSessionFunction · 0.80

Calls 1

syncUsageFromSessionMethod · 0.95

Tested by

no test coverage detected