Skip to content

Prewarm the LLM before session starts #3240

Description

@davidzhao

Currently (1.2) we prewarm the connection with STT and TTS, but not with the LLMs.

This is because LLMs usually require us to perform an inference request, instead of just opening a HTTP connection to /. There are a bunch of benefits to prewarming the LLM, the primary one is we could bypass the initial connection setup time, which could add up to be ~2s (DNS, SSL roundtrips).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions