Skip to content

Commit 16afb5a

Browse files
feat(api): update via SDK Studio
1 parent 08c35c8 commit 16afb5a

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

.stats.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
configured_endpoints: 5
22
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/kernel%2Fkernel-1fe396b957ced73281fc0a61a69b630836aa5c89a8dccce2c5a1716bc9775e80.yml
33
openapi_spec_hash: 9a0d67fb0781be034b77839584109638
4-
config_hash: 2ddaa85513b6670889b1a56c905423c7
4+
config_hash: df889df131f7438197abd59faace3c77

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@ client = Kernel(
3636
deployment = client.apps.deployments.create(
3737
entrypoint_rel_path="main.ts",
3838
file=b"REPLACE_ME",
39+
env_vars={"OPENAI_API_KEY": "x"},
3940
version="1.0.0",
4041
)
4142
print(deployment.apps)
@@ -66,6 +67,7 @@ async def main() -> None:
6667
deployment = await client.apps.deployments.create(
6768
entrypoint_rel_path="main.ts",
6869
file=b"REPLACE_ME",
70+
env_vars={"OPENAI_API_KEY": "x"},
6971
version="1.0.0",
7072
)
7173
print(deployment.apps)

0 commit comments

Comments
 (0)