Skip to content

Commit

Permalink
feat: CLI to display the Proxy URL as the agent's Agent's Base API (#576
Browse files Browse the repository at this point in the history
)
  • Loading branch information
eob authored Oct 6, 2023
1 parent 436f6fb commit e4ebc1e
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/steamship/cli/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -330,7 +330,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

0 comments on commit e4ebc1e

Please sign in to comment.