MCPcopy Create free account
hub / github.com/github/gh-aw / IsValidEngine

Method IsValidEngine

pkg/workflow/agentic_engine.go:558–561  ·  view source on GitHub ↗

IsValidEngine checks if an engine ID is valid

(id string)

Source from the content-addressed store, hash-verified

556
557// IsValidEngine checks if an engine ID is valid
558func (r *EngineRegistry) IsValidEngine(id string) bool {
559 _, exists := r.engines[id]
560 return exists
561}
562
563// GetDefaultEngine returns the default engine configured by constants.DefaultEngine
564func (r *EngineRegistry) GetDefaultEngine() CodingAgentEngine {

Callers 9

TestEngineRegistryFunction · 0.95
NewLogsCommandFunction · 0.80
NewInitCommandFunction · 0.80
getAgenticEngineMethod · 0.80
TestGetEngineSkillDirFunction · 0.80
TestGetEngineSubAgentDirFunction · 0.80
validateEngineFunction · 0.80

Calls

no outgoing calls

Tested by 4

TestEngineRegistryFunction · 0.76
TestGetEngineSkillDirFunction · 0.64
TestGetEngineSubAgentDirFunction · 0.64