wire
The wire formats of the online LLM providers, as pure functions (llm-openai-compatible §OCP-W2).
In the namespace octomy::llm.
Detailed description
Each protocol has its form in one namespace: anthropic for the Messages API, openai for the Chat Completions form that OpenAI and the self-hosted servers speak. The functions have no network and no state.