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

Method getStatus

src/agent/Agent.ts:866–875  ·  view source on GitHub ↗

* 获取 Agent 状态

()

Source from the content-addressed store, hash-verified

864 * 获取 Agent 状态
865 */
866 public getStatus() {
867 return {
868 initialized: this.isInitialized,
869 destroyed: this.isDestroyed,
870 llm: this.llmManager.getStatus(),
871 components: this.componentManager.getStatus(),
872 hasLLM: this.hasLLM(),
873 llmProvider: this.getLLMProvider(),
874 };
875 }
876
877 /**
878 * 获取健康状态

Callers 3

startBasicAssistantFunction · 0.95
demonstrateAdvancedUsageFunction · 0.95
getHealthStatusMethod · 0.45

Calls 2

hasLLMMethod · 0.95
getLLMProviderMethod · 0.95

Tested by

no test coverage detected