diff --git a/pkg/workflow/agent_validation.go b/pkg/workflow/agent_validation.go index bbcc7eaa03c..960ed753b06 100644 --- a/pkg/workflow/agent_validation.go +++ b/pkg/workflow/agent_validation.go @@ -113,7 +113,7 @@ func (c *Compiler) validateMaxTurnsSupport(frontmatter map[string]any, engine Co // max-turns is specified, check if the engine supports it if !engine.SupportsMaxTurns() { - return fmt.Errorf("max-turns not supported: engine '%s' does not support the max-turns feature. Use engine: copilot or remove max-turns from your configuration. Example:\nengine:\n id: copilot\n max-turns: 5", engine.GetID()) + return fmt.Errorf("max-turns not supported: engine '%s' does not support the max-turns feature", engine.GetID()) } // Engine supports max-turns - additional validation could be added here if needed diff --git a/smoke-test-22331673771.json b/smoke-test-22331673771.json new file mode 100644 index 00000000000..d28cab735dd --- /dev/null +++ b/smoke-test-22331673771.json @@ -0,0 +1 @@ +{ "smoke_test": "run-22331673771", "status": "pass" }