Skip to main content

Module types

Module types 

Source
Expand description

Core domain types for oxicode-ai

Structs§

CompatSettings
Compatibility settings for OpenAI-compatible APIs.
Cost
Cost structure – prices per million tokens.
ImageGenerationRequest
Request for image generation via an Images API provider.
ImageGenerationResponse
Response from an image generation API call.
Model
LLM model definition.
ToolResult
Tool result returned by agent tool execution.
Usage
Token usage statistics.

Enums§

Api
Provider API identifier.
CacheRetention
Cache retention preference
Complexity
Task complexity level for routing decisions.
ImagesApi
Images API provider type.
InputModality
Input modalities
MaxTokensField
Which JSON field to use for the maximum output token count.
StopReason
Stop reason – why the model finished generating.
ThinkingFormat
Provider-specific wire format for extended thinking.
ThinkingLevel
Model thinking/reasoning level