Table of Contents

Namespace Mythosia.AI.Protocols

Classes

ChatCompletionsProtocol

Implements the OpenAI-compatible /chat/completions wire format. Used by Grok, DeepSeek, Sonar, and other compatible providers.

CompletionProtocol

Abstract base class defining the wire-format contract for AI completion APIs. Each implementation handles a specific API format (e.g., /chat/completions, /messages, /generateContent).

ProtocolRequestParams

Parameters passed from a service to a protocol for building request bodies.