-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat(cli): add debugger host CLI flag to specify default base URL #900
Conversation
@@ -117,11 +105,36 @@ def check_capabilities(runner) -> DockerCapabilities: | |||
) | |||
|
|||
|
|||
def debugger_compose(*, port: Optional[int] = None, host: Optional[str] = None) -> str: | |||
if port is None: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
IMO this is not very intuitive. could we do this check on host instead?
- cli option for host: no default in
click
- cli option for port: default to
DEFAULT_PORT
inclick
and below add environment only if host != localhost
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is not really for changing the host of the debugger image, rather to change the default URL used by the debugger to access the LangGraph API.
Renamed the CLI flag to closely match the intent.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ah, that makes sense, thanks for clarifying!
@@ -117,11 +105,36 @@ def check_capabilities(runner) -> DockerCapabilities: | |||
) | |||
|
|||
|
|||
def debugger_compose(*, port: Optional[int] = None, host: Optional[str] = None) -> str: | |||
if port is None: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ah, that makes sense, thanks for clarifying!
No description provided.