MCPcopy Create free account
hub / github.com/astercloud/aster / GetConfig

Method GetConfig

pkg/middleware/working_memory.go:229–236  ·  view source on GitHub ↗

GetConfig 获取配置信息

()

Source from the content-addressed store, hash-verified

227
228// GetConfig 获取配置信息
229func (m *WorkingMemoryMiddleware) GetConfig() map[string]any {
230 return map[string]any{
231 "scope": string(m.manager.GetScope()),
232 "has_schema": m.manager.GetSchema() != nil,
233 "has_template": m.manager.GetTemplate() != "",
234 "experimental": m.experimental,
235 }
236}

Callers

nothing calls this directly

Calls 3

GetScopeMethod · 0.80
GetSchemaMethod · 0.80
GetTemplateMethod · 0.80

Tested by

no test coverage detected