MCPcopy Create free account
hub / github.com/GongShichen/LuminaCode / NewQueryEngine

Function NewQueryEngine

agent/query_engine.go:26–35  ·  view source on GitHub ↗
(cfg *config.Config)

Source from the content-addressed store, hash-verified

24 skillPermissionCh chan bool
25}
26
27func NewQueryEngine(cfg *config.Config) *QueryEngine {
28 if cfg == nil {
29 c := config.GetConfig()
30 cfg = &c
31 }
32 return &QueryEngine{
33 Config: *cfg,
34 CoreEngine: NewCoreExecutionEngine(cfg),
35 }
36}
37
38func CreateQueryEngine(cfg *config.Config) *QueryEngine {

Calls 2

GetConfigFunction · 0.92
NewCoreExecutionEngineFunction · 0.85