Skip to content
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 to display the Proxy URL as the agent's Agent's Base API #576

Merged
merged 1 commit into from
Oct 6, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion src/steamship/cli/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -329,7 +329,10 @@ def serve_local( # noqa: C901
# 2. The public_api_url should still be NGROK, not the Proxy. The local server emulates the Proxy and
# the Proxy blocks this kind of development traffic.

public_api_url = ngrok_api_url
public_api_url = (
f"https://{user.handle}.steamship.run/{workspace}/{registered_instance.handle}/"
)

click.secho(f"🌎 Public API: {public_api_url}")

# Start the local API Server. This has to happen after NGROK because the port & url need to be plummed.
Expand Down
Loading