@@ -148,6 +148,37 @@ jobs:
148148 export PATH="$(pwd)/bin:${PATH}"
149149 make smoke
150150
151+ claude-3-5-sonnet-20240620 :
152+ needs : check-label
153+ if : ${{ needs.check-label.outputs.run_smoke_tests == 'true' }}
154+ runs-on : ubuntu-22.04
155+ steps :
156+ - name : Checkout base repository
157+ uses : actions/checkout@v4
158+ with :
159+ fetch-depth : 1
160+ - name : Checkout PR code if running for a PR
161+ if : ${{ github.event_name == 'pull_request_target' }}
162+ uses : actions/checkout@v4
163+ with :
164+ fetch-depth : 1
165+ repository : ${{ github.event.pull_request.head.repo.full_name }}
166+ ref : ${{ github.event.pull_request.head.ref }}
167+ - uses : actions/setup-go@v5
168+ with :
169+ cache : false
170+ go-version : " 1.21"
171+ - env :
172+ OPENAI_API_KEY : ${{ secrets.SMOKE_OPENAI_API_KEY }}
173+ GPTSCRIPT_DEFAULT_MODEL : claude-3-5-sonnet-20240620 from github.com/gptscript-ai/claude3-anthropic-provider
174+ ANTHROPIC_API_KEY : ${{ secrets.SMOKE_ANTHROPIC_API_KEY }}
175+ GPTSCRIPT_CREDENTIAL_OVERRIDE : " github.com/gptscript-ai/claude3-anthropic-provider/credential:ANTHROPIC_API_KEY"
176+ name : Run smoke test for claude-3-5-sonnet-20240620
177+ run : |
178+ echo "Running smoke test for model claude-3-5-sonnet-20240620"
179+ export PATH="$(pwd)/bin:${PATH}"
180+ make smoke
181+
151182 mistral-large-2402 :
152183 needs : check-label
153184 if : ${{ needs.check-label.outputs.run_smoke_tests == 'true' }}
@@ -177,4 +208,3 @@ jobs:
177208 echo "Running smoke test for model mistral-large-2402"
178209 export PATH="$(pwd)/bin:${PATH}"
179210 make smoke
180-
0 commit comments