manual_set_proxy_url
manual_set_proxy_url
Manually set the proxy URL base used when constructing webhook callback URLs in the SWML document. Use this when your agent is behind a reverse proxy, tunnel, or load balancer and the auto-detected URL is incorrect.
You can also set the SWML_PROXY_URL_BASE environment variable for the same effect
without calling this method.
Parameters
proxy_url
The base URL to use for webhooks (e.g., "https://abc123.ngrok.io"). Trailing
slashes are automatically stripped.
Returns
AgentBase — Returns self for method chaining.