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

Method ResolveLLMProvider

pkg/workflow/copilot_engine.go:67–69  ·  view source on GitHub ↗

ResolveLLMProvider returns the effective provider for Copilot inference. Default is github, overridable via engine.model-provider.

(workflowData *WorkflowData)

Source from the content-addressed store, hash-verified

65// ResolveLLMProvider returns the effective provider for Copilot inference.
66// Default is github, overridable via engine.model-provider.
67func (e *CopilotEngine) ResolveLLMProvider(workflowData *WorkflowData) string {
68 return resolveEngineLLMProvider(workflowData, LLMProviderGitHub)
69}
70
71// GetRequiredSecretNames returns the list of secrets required by the Copilot engine.
72// This includes COPILOT_GITHUB_TOKEN and optionally MCP_GATEWAY_API_KEY.

Callers 3

GetExecutionStepsMethod · 0.95

Calls 1

resolveEngineLLMProviderFunction · 0.85

Tested by

no test coverage detected