File tree Expand file tree Collapse file tree 2 files changed +3
-1
lines changed Expand file tree Collapse file tree 2 files changed +3
-1
lines changed Original file line number Diff line number Diff line change 11configured_endpoints : 5
22openapi_spec_url : https://storage.googleapis.com/stainless-sdk-openapi-specs/kernel%2Fkernel-1fe396b957ced73281fc0a61a69b630836aa5c89a8dccce2c5a1716bc9775e80.yml
33openapi_spec_hash : 9a0d67fb0781be034b77839584109638
4- config_hash : 2ddaa85513b6670889b1a56c905423c7
4+ config_hash : df889df131f7438197abd59faace3c77
Original file line number Diff line number Diff line change @@ -36,6 +36,7 @@ client = Kernel(
3636deployment = 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)
4142print (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)
You can’t perform that action at this time.
0 commit comments