-
Notifications
You must be signed in to change notification settings - Fork 224
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
Enhancement - Add support for configurable Agenta Cloud URL in CLI #938
Conversation
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.
It seems that you've implemented the logic to save the api keys to config but not to use it/ load it no?
I think we should not have the logic for saving, just for loading.
Api keys? No, I didn't. |
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.
You are using the wrong config file in this PR (the local and not the global)!! The host should be in the global config file
Alright, I'll adjust it to use the global config file. Thank you. |
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.
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.
Asides the review comment, I've tested it and it's all good.
Great work, @aybruhm
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.
All Good, thanks @aybruhm.
Description
Currently, the CLI defaults to the cloud backend host when the cloud option is selected, which may not be desirable for all use cases. With this update, users can set the URL they want to use, enabling them to seamlessly switch between the various environment of Agenta as per their development needs.
To set the URL, run the command,
agenta config set-host https://example.com
.Related Issue
Closes C_180