* 获取 Agent 状态
()
| 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 | * 获取健康状态 |
no test coverage detected