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