Skip to content

Commit 52ffcf8

Browse files
feat(api): manual updates
Updated TypeScript package name and API URL to correct values.
1 parent 19e6c3e commit 52ffcf8

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
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: 89
22
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/kernel%2Fkernel-8e4a29d23d2882fcb0864606091790fd58bffa4f5d5c8d081052b72ad47b215b.yml
33
openapi_spec_hash: fc82d930dad739ac01e3c2bddba7bf61
4-
config_hash: 3a5e36dfb245210cfd978f679b3641d2
4+
config_hash: d0585c44724cd7deecea60a5ffae69df

src/kernel/_client.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@
6767
]
6868

6969
ENVIRONMENTS: Dict[str, str] = {
70-
"production": "https://api.kernel.com/",
70+
"production": "https://api.onkernel.com/",
7171
"development": "https://localhost:3001/",
7272
}
7373

tests/test_client.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -695,7 +695,7 @@ def test_base_url_env(self) -> None:
695695
Kernel(api_key=api_key, _strict_response_validation=True, environment="production")
696696

697697
client = Kernel(base_url=None, api_key=api_key, _strict_response_validation=True, environment="production")
698-
assert str(client.base_url).startswith("https://api.kernel.com/")
698+
assert str(client.base_url).startswith("https://api.onkernel.com/")
699699

700700
client.close()
701701

@@ -1598,7 +1598,7 @@ async def test_base_url_env(self) -> None:
15981598
client = AsyncKernel(
15991599
base_url=None, api_key=api_key, _strict_response_validation=True, environment="production"
16001600
)
1601-
assert str(client.base_url).startswith("https://api.kernel.com/")
1601+
assert str(client.base_url).startswith("https://api.onkernel.com/")
16021602

16031603
await client.close()
16041604

0 commit comments

Comments
 (0)