You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This appears to be because the API is not responding with a boolean value for the prefix parameter. I noticed the error object conveniently has a rawValue property containing the response, so I checked that and it looks like I'm getting a successful response from the API (just missing that property):
{
"id": "368ace4bd8b74009b22b9f96881d477e",
"object": "chat.completion",
"created": 1724380968,
"model": "mistral-large-latest",
"choices": [
{
"index": 0,
"message": {
"role": "assistant",
"content": "-- actual text removed because it was long --",
"tool_calls": null
},
"finish_reason": "stop",
"logprobs": null
}
],
"usage": {
"prompt_tokens": 12,
"total_tokens": 663,
"completion_tokens": 651
}
}
The text was updated successfully, but these errors were encountered:
I'm trying to use the typescript client and I am getting the following error message:
This appears to be because the API is not responding with a boolean value for the
prefix
parameter. I noticed the error object conveniently has arawValue
property containing the response, so I checked that and it looks like I'm getting a successful response from the API (just missing that property):The text was updated successfully, but these errors were encountered: