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

Method ResolveLLMProvider

pkg/workflow/codex_engine.go:79–81  ·  view source on GitHub ↗

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

(workflowData *WorkflowData)

Source from the content-addressed store, hash-verified

77// ResolveLLMProvider returns the effective provider for Codex inference.
78// Default is openai, overridable via engine.model-provider.
79func (e *CodexEngine) ResolveLLMProvider(workflowData *WorkflowData) string {
80 return resolveEngineLLMProvider(workflowData, LLMProviderOpenAI)
81}
82
83// GetRequiredSecretNames returns the list of secrets required by the Codex engine
84// This includes CODEX_API_KEY, OPENAI_API_KEY, and optionally MCP_GATEWAY_API_KEY and mcp-scripts secrets

Calls 1

resolveEngineLLMProviderFunction · 0.85