prewarm_harmony_encoding

Function prewarm_harmony_encoding 

Source
pub fn prewarm_harmony_encoding()
Expand description

Pre-initialize the Harmony encoding. This MUST be called from a non-async context (e.g., during pipeline loading) before any async code runs. The openai-harmony crate uses reqwest::blocking which creates its own tokio runtime, so it cannot be called from within an existing async context.