stream: false
to the message.create
method will return a single response object. This is the default behavior.
provider
used the response object will stay consistent to the following schema
max_tokens
: The model reached the maximum token limit.stop_sequence
: The model incountered one of the provided
stop_sequence tokens.stop
: The normal stop condition, the model reached the end of
the response.stop_sequence
, this field will be
undefined.