File tree Expand file tree Collapse file tree 3 files changed +10
-3
lines changed Expand file tree Collapse file tree 3 files changed +10
-3
lines changed Original file line number Diff line number Diff line change @@ -48,6 +48,7 @@ class ConnectionConfig:
4848 """
4949 Configuration for the connection to the API.
5050 """
51+
5152 envd_port = 49983
5253
5354 @staticmethod
Original file line number Diff line number Diff line change @@ -46,7 +46,9 @@ def __init__(
4646 self .__sandbox_domain = sandbox_domain or self .connection_config .domain
4747 self .__envd_version = envd_version
4848 self .__envd_access_token = envd_access_token
49- self .__envd_api_url = self .connection_config .get_sandbox_url (self .sandbox_id , self .sandbox_domain )
49+ self .__envd_api_url = self .connection_config .get_sandbox_url (
50+ self .sandbox_id , self .sandbox_domain
51+ )
5052 self .__mcp_token : Optional [str ] = None
5153
5254 @property
@@ -195,7 +197,9 @@ def get_host(self, port: int) -> str:
195197
196198 :return: Host address to connect to
197199 """
198- return self .connection_config .get_host (self .sandbox_id , self .sandbox_domain , port )
200+ return self .connection_config .get_host (
201+ self .sandbox_id , self .sandbox_domain , port
202+ )
199203
200204 def get_mcp_url (self ) -> str :
201205 """
Original file line number Diff line number Diff line change @@ -95,7 +95,9 @@ def __init__(self, **opts: Unpack[SandboxOpts]):
9595 limits = self ._limits , proxy = self .connection_config .proxy
9696 )
9797 self ._envd_api = httpx .AsyncClient (
98- base_url = self .connection_config .get_sandbox_url (self .sandbox_id , self .sandbox_domain ),
98+ base_url = self .connection_config .get_sandbox_url (
99+ self .sandbox_id , self .sandbox_domain
100+ ),
99101 transport = self ._transport ,
100102 headers = self .connection_config .sandbox_headers ,
101103 )
You can’t perform that action at this time.
0 commit comments