Adds BANANA_SERVER env var, which points to local dev servers or remote urls and calls that directly with a single POST request, rather than routing through our middleware.
Why?
to allow for testing locally with the SDK
to prep for an upcoming bananav2 infra change where you call a URL directly
How did you test to ensure no regressions?
Ran it with and without this BANANA_SERVER on a prod model and local hosted model, works
If this is a new feature what is one way you can make this break?
A user could theoretically already have a BANANA_SERVER env var in prod for whatever reason, so we're at risk of that causing issues.
What is this?
Adds BANANA_SERVER env var, which points to local dev servers or remote urls and calls that directly with a single POST request, rather than routing through our middleware.
Why?
How did you test to ensure no regressions?
Ran it with and without this BANANA_SERVER on a prod model and local hosted model, works
If this is a new feature what is one way you can make this break?
A user could theoretically already have a BANANA_SERVER env var in prod for whatever reason, so we're at risk of that causing issues.