Skip to content
This repository was archived by the owner on Mar 24, 2026. It is now read-only.

Commit 6b7bd87

Browse files
refactor(api)!: change route to be /beta instead of /v1
1 parent ee97b11 commit 6b7bd87

3 files changed

Lines changed: 7 additions & 7 deletions

File tree

.stats.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
configured_endpoints: 14
22
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/miru-ml%2Fmiru-server-e8b887c478291aecbbf06e532903242a5d5ff682a2a6814921bb770c97a1753d.yml
33
openapi_spec_hash: b15141c2e0e81b8029c620d4aef4188c
4-
config_hash: 3de34a47f7bb67e784afed4170b209b1
4+
config_hash: 95b6fa4e87744247f5bdbf841c16ce0a

src/miru_server_sdk/_client.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -43,10 +43,10 @@
4343
]
4444

4545
ENVIRONMENTS: Dict[str, str] = {
46-
"prod": "https://configs.api.miruml.com/v1",
47-
"uat": "https://uat.api.miruml.com/v1",
48-
"staging": "https://configs.dev.api.miruml.com/v1",
49-
"local": "http://localhost:8080/v1",
46+
"prod": "https://configs.api.miruml.com/beta",
47+
"uat": "https://uat.api.miruml.com/beta",
48+
"staging": "https://configs.dev.api.miruml.com/beta",
49+
"local": "http://localhost:8080/beta",
5050
}
5151

5252

tests/test_client.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -572,7 +572,7 @@ def test_base_url_env(self) -> None:
572572
Miru(api_key=api_key, _strict_response_validation=True, environment="prod")
573573

574574
client = Miru(base_url=None, api_key=api_key, _strict_response_validation=True, environment="prod")
575-
assert str(client.base_url).startswith("https://configs.api.miruml.com/v1")
575+
assert str(client.base_url).startswith("https://configs.api.miruml.com/beta")
576576

577577
client.close()
578578

@@ -1405,7 +1405,7 @@ async def test_base_url_env(self) -> None:
14051405
AsyncMiru(api_key=api_key, _strict_response_validation=True, environment="prod")
14061406

14071407
client = AsyncMiru(base_url=None, api_key=api_key, _strict_response_validation=True, environment="prod")
1408-
assert str(client.base_url).startswith("https://configs.api.miruml.com/v1")
1408+
assert str(client.base_url).startswith("https://configs.api.miruml.com/beta")
14091409

14101410
await client.close()
14111411

0 commit comments

Comments
 (0)