File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ on :
2+ push :
3+ branches : [!main]
4+ paths :
5+ - " openapi.yaml"
6+
7+ jobs :
8+ preview :
9+ if : github.event.action != 'closed'
10+ runs-on : ubuntu-latest
11+ permissions :
12+ contents : read
13+ pull-requests : write
14+ steps :
15+ - name : Checkout repository
16+ uses : actions/checkout@v4
17+ with :
18+ fetch-depth : 2
19+
20+ - name : Run preview builds
21+ uses : stainless-api/upload-openapi-spec-action/preview@v1
22+ with :
23+ stainless_api_key : ${{ secrets.STAINLESS_API_KEY }}
24+ org : ${{ env.STAINLESS_ORG }}
25+ project : ${{ env.STAINLESS_PROJECT }}
26+ oas_path : ${{ env.OAS_PATH }}
Original file line number Diff line number Diff line change @@ -308,7 +308,7 @@ paths:
308308 const response = await client.completions.create({
309309 model: "meta-llama/Meta-Llama-3.1-8B-Instruct-Turbo",
310310 prompt: "The largest city in France is",
311- max_tokens: 1
311+ max_tokens: 1,
312312 });
313313
314314 console.log(response.choices[0].text);
You can’t perform that action at this time.
0 commit comments