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

Function getCopilotModelEnvVar

pkg/workflow/copilot_engine_execution.go:265–270  ·  view source on GitHub ↗
(isDetectionJob bool)

Source from the content-addressed store, hash-verified

263}
264
265func getCopilotModelEnvVar(isDetectionJob bool) string {
266 if isDetectionJob {
267 return constants.EnvVarModelDetectionCopilot
268 }
269 return constants.EnvVarModelAgentCopilot
270}
271
272func getCopilotTimeoutValue(workflowData *WorkflowData) string {
273 timeoutValue := strconv.Itoa(int(constants.DefaultAgenticWorkflowTimeout / time.Minute))

Callers 1

GetExecutionStepsMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected