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

Method GetModelEnvVarName

pkg/workflow/pi_engine.go:56–58  ·  view source on GitHub ↗

GetModelEnvVarName returns the legacy Pi model env-var name exposed by gh-aw. gh-aw passes the model to the Pi CLI via --model and separately exports the original workflow model for extensions.

()

Source from the content-addressed store, hash-verified

54// gh-aw passes the model to the Pi CLI via --model and separately exports the
55// original workflow model for extensions.
56func (e *PiEngine) GetModelEnvVarName() string {
57 return constants.PiCLIModelEnvVar
58}
59
60// ResolveLLMProvider returns the effective provider for Pi inference.
61// Default is github, overridable via engine.model-provider.

Callers 1

Calls

no outgoing calls

Tested by 1