Type Alias AssistantUnavailableError

AssistantUnavailableError: {
    code: "assistant_unavailable";
    conversationId?: string;
    message?: string;
    reason?: AssistantFailureReason;
}

The 503 assistant_unavailable from sendAssistantMessage. The chat is kept even though this turn failed: keep using conversationId for the next message AND for sendAssistantShare, or Share answers not_found.

Type declaration

  • code: "assistant_unavailable"
  • OptionalconversationId?: string

    Set once the server has the chat. Absent only when the turn failed before it got that far.

  • Optionalmessage?: string
  • Optionalreason?: AssistantFailureReason

    timeout / network / http: the model was slow or unreachable. guard: the safety check could not answer.