Skip to main content

family_honors_wire_api

Function family_honors_wire_api 

Source
pub fn family_honors_wire_api(family: &str) -> bool
Expand description

Whether a canonical provider family honors the wire_api config field.

Mirrors the provider factory in zeroclaw-providers: only the bring-your-own-endpoint families build either a chat-completions or a responses provider from wire_api. Every branded vendor family has a fixed wire protocol and ignores the field. Kept in lockstep with the FamilyProviderFactory impls that branch on wire_api == Responses (openai, llamacpp, custom, and the generic openai-compatible path).