File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11class Cagent < Formula
22 desc "Agent Builder and Runtime by Docker Engineering"
33 homepage "https://github.com/docker/cagent"
4- url "https://github.com/docker/cagent/archive/refs/tags/v1.21 .0.tar.gz"
5- sha256 "12fdec39e613dcb4865df439ad0ec57c0f0441f1493f1a5f0c4d310a2b7086de "
4+ url "https://github.com/docker/cagent/archive/refs/tags/v1.22 .0.tar.gz"
5+ sha256 "cffcee722e69ecb8111fda9e6f8e6d46da09299a57b74f11982780a5ecd27e90 "
66 license "Apache-2.0"
77 head "https://github.com/docker/cagent.git" , branch : "main"
88
@@ -40,6 +40,7 @@ def install
4040 YAML
4141
4242 assert_match ( "cagent version v#{ version } " , shell_output ( "#{ bin } /cagent version" ) )
43- assert_match ( /must be set.*OPENAI_API_KEY/m , shell_output ( "#{ bin } /cagent exec --dry-run agent.yaml 2>&1" , 1 ) )
43+ output = shell_output ( "#{ bin } /cagent exec --dry-run agent.yaml hello 2>&1" , 1 )
44+ assert_match /must be set.*OPENAI_API_KEY/m , output
4445 end
4546end
You can’t perform that action at this time.
0 commit comments