Our latest product additions and improvements.

Sep 7, 2023

Models deployed on Baseten using Truss 0.7.1 or later can now send the 500 response code when there is an error during model invocation. This change only affects newly deployed models.

Any exception raised will result in a 500 response code. For example, this Truss code:

class Model:
    def predict(...):
         raise Exception("hello")

Will yield a response with the following content:

    "error": "Internal Server Error"

For details on a given error, see the model logs for details on the exception that was raised.