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

Method ResolveLLMProvider

pkg/workflow/pi_engine.go:62–64  ·  view source on GitHub ↗

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

(workflowData *WorkflowData)

Source from the content-addressed store, hash-verified

60// ResolveLLMProvider returns the effective provider for Pi inference.
61// Default is github, overridable via engine.model-provider.
62func (e *PiEngine) ResolveLLMProvider(workflowData *WorkflowData) string {
63 return resolveEngineLLMProvider(workflowData, LLMProviderGitHub)
64}
65
66// resolvePiBackend extracts the provider prefix from the engine model (if any) and maps
67// it to the matching UniversalLLMBackend. A model without a slash (e.g. "claude-sonnet-4")

Calls 1

resolveEngineLLMProviderFunction · 0.85