Add missing VisionConfig class
This commit is contained in:
@@ -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."""
|
||||
|
||||
Reference in New Issue
Block a user