Skip to main content

Module openai_api

Module openai_api 

Source
Expand description

OpenAI-compatible API worker adapter (CONTEXT.md §8, §16).

A raw model on the user’s own key. Unlike a harness, it sees only what is sent, so the context assembler inlines file contents here, not paths (CONTEXT.md §8 behavioral split, §12). Always metered (CONTEXT.md §9).

Structs§

OpenAiWorker
An API worker backed by an OpenAI-compatible endpoint, with an optional pool of keys it rotates across when one is rate-limited (CONTEXT.md §13).