Table of Contents

Namespace Mythosia.AI.Services.Base

Classes

AIService
AIService.ProcessingObservation

A request-local observer; absent metadata never implies that the requested mode was applied.

AIService.RunSession

Provider extension point for run output, additional input, and transport cleanup.

OpenAICompatibleService

Base class for providers that follow the OpenAI-compatible streaming format (SSE with "data:" prefix, "[DONE]" terminator, choices/delta structure). Used by ChatGPT, Grok, Qwen, and other compatible providers. Providers override ParseStreamChunk(string, StreamOptions) to handle provider-specific parsing.

OpenAICompatibleService.OpenAIStreamChunk
OpenAICompatibleService.OpenAIStreamData