diff --git a/README.md b/README.md index 54b829240..adf47f170 100644 --- a/README.md +++ b/README.md @@ -204,15 +204,6 @@ If you stopped the watch session, you can re-attach with: uvx truss watch ``` -This creates a production deployment with its own endpoint. The API URL changes from `/environments/development/` to `/environments/production/`: - -```python -client = OpenAI( - api_key=os.environ["BASETEN_API_KEY"], - base_url="https://model-{model_id}.api.baseten.co/environments/production/sync/v1", -) -``` - Your model ID is the string after `/models/` in the logs URL from `uvx truss push`. You can also find it in your [Baseten dashboard](https://app.baseten.co/models/). # IDE support diff --git a/truss-chains/examples/audio-transcription/transcribe.py b/truss-chains/examples/audio-transcription/transcribe.py index 85fb84982..7b29c51d3 100644 --- a/truss-chains/examples/audio-transcription/transcribe.py +++ b/truss-chains/examples/audio-transcription/transcribe.py @@ -15,7 +15,7 @@ ) -# Deploy the Whisper model with `truss chains deploy whisper_chainlet.py`: +# Deploy the Whisper model with `truss chains push whisper_chainlet.py`: # And insert the predict URL here. You can get it from the CLI output or # the status page, e.g. "https://model-6wgeygoq.api.baseten.co/production/predict" diff --git a/truss/remote/baseten/utils/status.py b/truss/remote/baseten/utils/status.py index a8ff75d2b..ec65129ef 100644 --- a/truss/remote/baseten/utils/status.py +++ b/truss/remote/baseten/utils/status.py @@ -31,7 +31,7 @@ def get_displayable_status(status: str) -> str: """ TODO: Remove this method once Chains is supported in the REST API - This is used by the `truss chains deploy` command right now to + This is used by the `truss chains push` command right now to print the right status. Once Chains are supported by the REST API, the Baseten REST API will return status strings matching the ones here, so we don't need to do any mapping.