mirror of
https://github.com/langchain-ai/langgraph.git
synced 2026-10-18 22:13:42 +02:00
fix(cli): keep AWS deployments on dev until serverless is supported
Co-authored-by: open-swe[bot] <open-swe@users.noreply.github.com>
This commit is contained in:
co-authored by
open-swe[bot] <open-swe@users.noreply.github.com>
parent
a833171538
commit
dcdcb13a99
@@ -44,6 +44,10 @@ class ControlPlaneEndpoints:
|
||||
f".{CLOUD_CONTROL_PLANE_HOST}"
|
||||
)
|
||||
|
||||
@property
|
||||
def is_aws(self) -> bool:
|
||||
return urlparse(self.control_plane_url).hostname == "aws.api.host.langchain.com"
|
||||
|
||||
@classmethod
|
||||
def from_control_plane_url(cls, url: str) -> ControlPlaneEndpoints:
|
||||
control_plane_url = url.rstrip("/")
|
||||
|
||||
Reference in New Issue
Block a user