File tree Expand file tree Collapse file tree 2 files changed +31
-1
lines changed
Expand file tree Collapse file tree 2 files changed +31
-1
lines changed Original file line number Diff line number Diff line change 1+ name : Preview Builds
2+
3+ on :
4+ pull_request :
5+ types :
6+ - opened
7+ - synchronize
8+ - reopened
9+ - closed
10+
11+ jobs :
12+ preview :
13+ if : github.event.action != 'closed'
14+ runs-on : ubuntu-latest
15+ permissions :
16+ contents : read
17+ pull-requests : write
18+ steps :
19+ - name : Checkout repository
20+ uses : actions/checkout@v4
21+ with :
22+ fetch-depth : 2
23+
24+ - name : Run preview builds
25+ uses : stainless-api/upload-openapi-spec-action/preview@v1
26+ with :
27+ stainless_api_key : ${{ secrets.STAINLESS_API_KEY }}
28+ org : togethercomputer
29+ project : togetherai
30+ oas_path : openapi.yaml
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