MCPcopy Create free account
hub / github.com/echoVic/blade-code / getCurrentSessionId

Method getCurrentSessionId

src/agent/Agent.ts:640–643  ·  view source on GitHub ↗

* 获取当前上下文会话ID

()

Source from the content-addressed store, hash-verified

638 * 获取当前上下文会话ID
639 */
640 public getCurrentSessionId(): string | undefined {
641 const contextComponent = this.getContextComponent();
642 return contextComponent?.getCurrentSessionId();
643 }
644
645 /**
646 * 搜索历史会话

Callers 1

startInteractiveChatFunction · 0.45

Calls 1

getContextComponentMethod · 0.95

Tested by

no test coverage detected