Skip to content

Commit 34cef34

Browse files
feat(api): update via SDK Studio
1 parent 924b2f7 commit 34cef34

File tree

2 files changed

+3
-9
lines changed

2 files changed

+3
-9
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: 7
22
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/kernel%2Fkernel-39aa058a60035c34a636e7f580b4b9c76b05400ae401ef04a761572b20a5425b.yml
33
openapi_spec_hash: bb79a204f9edb6b6ccfe783a0a82a423
4-
config_hash: 5c90b7df80e8f222bb945b14b8d1fec0
4+
config_hash: 3eb1ed1dd0067258984b31d53a0dab48

README.md

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -36,10 +36,7 @@ client = Kernel(
3636
deployment = client.apps.deployments.create(
3737
entrypoint_rel_path="main.ts",
3838
file=b"REPLACE_ME",
39-
env_vars={
40-
"OPENAI_API_KEY": "x",
41-
"LOG_LEVEL": "debug",
42-
},
39+
env_vars={"OPENAI_API_KEY": "x"},
4340
version="1.0.0",
4441
)
4542
print(deployment.apps)
@@ -70,10 +67,7 @@ async def main() -> None:
7067
deployment = await client.apps.deployments.create(
7168
entrypoint_rel_path="main.ts",
7269
file=b"REPLACE_ME",
73-
env_vars={
74-
"OPENAI_API_KEY": "x",
75-
"LOG_LEVEL": "debug",
76-
},
70+
env_vars={"OPENAI_API_KEY": "x"},
7771
version="1.0.0",
7872
)
7973
print(deployment.apps)

0 commit comments

Comments
 (0)