diff --git a/src/codex/_client.py b/src/codex/_client.py index d9e4432..884d2f3 100644 --- a/src/codex/_client.py +++ b/src/codex/_client.py @@ -50,8 +50,8 @@ ] ENVIRONMENTS: Dict[str, str] = { - "production": "https://api-alpha-o3gxj3oajfu.cleanlab.ai", - "staging": "https://api-alpha-staging-o3gxj3oajfu.cleanlab.ai", + "production": "https://api-codex-o3gxj3oajfu.cleanlab.ai", + "staging": "https://api-codex-staging-o3gxj3oajfu.cleanlab.ai", "local": "http://localhost:8080", } diff --git a/tests/test_client.py b/tests/test_client.py index d000ab1..3eaa653 100644 --- a/tests/test_client.py +++ b/tests/test_client.py @@ -522,7 +522,7 @@ def test_base_url_env(self) -> None: Codex(_strict_response_validation=True, environment="production") client = Codex(base_url=None, _strict_response_validation=True, environment="production") - assert str(client.base_url).startswith("https://api-alpha-o3gxj3oajfu.cleanlab.ai") + assert str(client.base_url).startswith("https://api-codex-o3gxj3oajfu.cleanlab.ai") @pytest.mark.parametrize( "client", @@ -1263,7 +1263,7 @@ def test_base_url_env(self) -> None: AsyncCodex(_strict_response_validation=True, environment="production") client = AsyncCodex(base_url=None, _strict_response_validation=True, environment="production") - assert str(client.base_url).startswith("https://api-alpha-o3gxj3oajfu.cleanlab.ai") + assert str(client.base_url).startswith("https://api-codex-o3gxj3oajfu.cleanlab.ai") @pytest.mark.parametrize( "client",