Skip to content

Commit 0950b19

Browse files
feat(api): update via SDK Studio
1 parent e077ec7 commit 0950b19

File tree

2 files changed

+11
-5
lines changed

2 files changed

+11
-5
lines changed

.stats.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
configured_endpoints: 7
2-
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/kernel%2Fkernel-b594ec244fa0dd448274eb91c93f8c43f19b5056415e457e1e90fa9df749b52a.yml
3-
openapi_spec_hash: 6bd4844a6e85289bea205723dbafff58
4-
config_hash: 3eb1ed1dd0067258984b31d53a0dab48
2+
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/kernel%2Fkernel-39aa058a60035c34a636e7f580b4b9c76b05400ae401ef04a761572b20a5425b.yml
3+
openapi_spec_hash: bb79a204f9edb6b6ccfe783a0a82a423
4+
config_hash: 5c90b7df80e8f222bb945b14b8d1fec0

README.md

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,10 @@ 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"},
39+
env_vars={
40+
"OPENAI_API_KEY": "x",
41+
"LOG_LEVEL": "debug",
42+
},
4043
version="1.0.0",
4144
)
4245
print(deployment.apps)
@@ -67,7 +70,10 @@ async def main() -> None:
6770
deployment = await client.apps.deployments.create(
6871
entrypoint_rel_path="main.ts",
6972
file=b"REPLACE_ME",
70-
env_vars={"OPENAI_API_KEY": "x"},
73+
env_vars={
74+
"OPENAI_API_KEY": "x",
75+
"LOG_LEVEL": "debug",
76+
},
7177
version="1.0.0",
7278
)
7379
print(deployment.apps)

0 commit comments

Comments
 (0)