Add missing VisionConfig class

This commit is contained in:
Mario Lavoie
2026-01-28 02:13:06 +00:00
parent a1891974c9
commit 47c1f14160

View File

@@ -22,6 +22,17 @@ class FrameExtractionConfig:
blur_threshold: float = 100.0 # Laplacian variance threshold
@dataclass
class VisionConfig:
"""Vision API configuration."""
provider: Literal["openai", "anthropic"] = "openai"
openai_api_key: str | None = None
anthropic_api_key: str | None = None
model: str = "gpt-4o"
max_tokens: int = 4096
temperature: float = 0.3
@dataclass
class TranscriptionConfig:
"""Transcription configuration."""