Skip to content

Commit 7e697f6

Browse files
chore: sync repo
1 parent a26e06f commit 7e697f6

22 files changed

+127
-577
lines changed

.github/CODEOWNERS

Lines changed: 0 additions & 5 deletions
This file was deleted.

.github/workflows/ci.yml

Lines changed: 37 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,22 @@
11
name: CI
22
on:
33
push:
4-
branches:
5-
- main
4+
branches-ignore:
5+
- 'generated'
6+
- 'codegen/**'
7+
- 'integrated/**'
8+
- 'stl-preview-head/**'
9+
- 'stl-preview-base/**'
610
pull_request:
7-
branches:
8-
- main
9-
- next
11+
branches-ignore:
12+
- 'stl-preview-head/**'
13+
- 'stl-preview-base/**'
1014

1115
jobs:
1216
lint:
17+
timeout-minutes: 10
1318
name: lint
14-
runs-on: ubuntu-latest
15-
19+
runs-on: ${{ github.repository == 'stainless-sdks/llama-api-python' && 'depot-ubuntu-24.04' || 'ubuntu-latest' }}
1620
steps:
1721
- uses: actions/checkout@v4
1822

@@ -30,10 +34,34 @@ jobs:
3034
- name: Run lints
3135
run: ./scripts/lint
3236

37+
upload:
38+
if: github.repository == 'stainless-sdks/llama-api-python'
39+
timeout-minutes: 10
40+
name: upload
41+
permissions:
42+
contents: read
43+
id-token: write
44+
runs-on: depot-ubuntu-24.04
45+
steps:
46+
- uses: actions/checkout@v4
47+
48+
- name: Get GitHub OIDC Token
49+
id: github-oidc
50+
uses: actions/github-script@v6
51+
with:
52+
script: core.setOutput('github_token', await core.getIDToken());
53+
54+
- name: Upload tarball
55+
env:
56+
URL: https://pkg.stainless.com/s
57+
AUTH: ${{ steps.github-oidc.outputs.github_token }}
58+
SHA: ${{ github.sha }}
59+
run: ./scripts/utils/upload-artifact.sh
60+
3361
test:
62+
timeout-minutes: 10
3463
name: test
35-
runs-on: ubuntu-latest
36-
64+
runs-on: ${{ github.repository == 'stainless-sdks/llama-api-python' && 'depot-ubuntu-24.04' || 'ubuntu-latest' }}
3765
steps:
3866
- uses: actions/checkout@v4
3967

.github/workflows/examples.yml

Lines changed: 0 additions & 92 deletions
This file was deleted.

CODE_OF_CONDUCT.md

Lines changed: 0 additions & 80 deletions
This file was deleted.

CONTRIBUTING.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ If you’d like to use the repository from source, you can either install from g
6262
To install via git:
6363

6464
```sh
65-
$ pip install git+ssh://git@github.com/meta-llama/llama-api-python.git
65+
$ pip install git+ssh://git@github.com/stainless-sdks/llama-api-python.git
6666
```
6767

6868
Alternatively, you can build from source and install the wheel file:
@@ -120,7 +120,7 @@ the changes aren't made through the automated pipeline, you may want to make rel
120120

121121
### Publish with a GitHub workflow
122122

123-
You can release to package managers by using [the `Publish PyPI` GitHub action](https://www.github.com/meta-llama/llama-api-python/actions/workflows/publish-pypi.yml). This requires a setup organization or repository secret to be set up.
123+
You can release to package managers by using [the `Publish PyPI` GitHub action](https://www.github.com/stainless-sdks/llama-api-python/actions/workflows/publish-pypi.yml). This requires a setup organization or repository secret to be set up.
124124

125125
### Publish manually
126126

LICENSE

Lines changed: 4 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,7 @@
1-
MIT License
1+
Copyright 2025 llama-api-client
22

3-
Copyright (c) Meta Platforms, Inc. and affiliates
3+
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
44

5-
Permission is hereby granted, free of charge, to any person obtaining
6-
a copy of this software and associated documentation files (the
7-
"Software"), to deal in the Software without restriction, including
8-
without limitation the rights to use, copy, modify, merge, publish,
9-
distribute, sublicense, and/or sell copies of the Software, and to
10-
permit persons to whom the Software is furnished to do so, subject to
11-
the following conditions:
5+
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
126

13-
The above copyright notice and this permission notice shall be
14-
included in all copies or substantial portions of the Software.
15-
16-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
17-
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
18-
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
19-
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
20-
LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
21-
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
22-
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
7+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

0 commit comments

Comments
 (0)