halo - v1.0.0
    Preparing search index...

    Type Alias StartChatResult

    StartChatResult: ChatTextResult | ChatStreamResult

    Represents the result of starting a chat, which can be either a text result or a textStream result. This type is a union of ChatTextResult and ChatStreamResult. It allows for flexibility in handling different types of chat responses. if you use streamMethod as "text", it will return ChatTextResult. If you use streamMethod as "stream", it will return ChatStreamResult.

    • ChatTextResult
    • ChatStreamResult