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:
Hari Dhanushkodi
2026-10-16 18:50:31 +00:00
co-authored by open-swe[bot] <open-swe@users.noreply.github.com>
parent a833171538
commit dcdcb13a99
4 changed files with 116 additions and 3 deletions
+4
View File
@@ -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("/")