2026-05-21 19:33:04 +00:00
|
|
|
"""Configuration for the Meet Kevin watcher service."""
|
|
|
|
|
|
|
|
|
|
from shared.config import BaseConfig
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
class MeetKevinWatcherConfig(BaseConfig):
|
|
|
|
|
"""Meet Kevin watcher settings.
|
|
|
|
|
|
|
|
|
|
Extends :class:`BaseConfig` with YouTube channel monitoring,
|
|
|
|
|
caption fetching, and LLM analysis settings. All settings can be
|
|
|
|
|
overridden via environment variables prefixed with ``TRADING_``.
|
|
|
|
|
"""
|
|
|
|
|
|
|
|
|
|
# YouTube settings
|
|
|
|
|
meet_kevin_channel_id: str = "UCUvvj5lwue7PspotMDjk5UA"
|
|
|
|
|
meet_kevin_poll_interval_seconds: int = 10800
|
|
|
|
|
meet_kevin_max_caption_retries: int = 5
|
|
|
|
|
|
|
|
|
|
# LLM analysis settings
|
|
|
|
|
meet_kevin_max_llm_retries: int = 3
|
2026-05-22 19:24:40 +00:00
|
|
|
meet_kevin_llm_model: str = "claude-sonnet-4-5"
|
2026-05-28 21:40:07 +00:00
|
|
|
meet_kevin_prompt_version: str = "v2"
|
2026-05-21 19:33:04 +00:00
|
|
|
meet_kevin_daily_cost_cap_usd: float = 5.0
|
2026-05-22 20:25:19 +00:00
|
|
|
meet_kevin_inter_video_sleep_seconds: int = 30
|
2026-05-21 19:33:04 +00:00
|
|
|
|
|
|
|
|
# API credentials
|
2026-05-22 19:24:40 +00:00
|
|
|
anthropic_oauth_token: str = ""
|
2026-05-21 19:33:04 +00:00
|
|
|
|
|
|
|
|
# Runtime settings
|
|
|
|
|
meet_kevin_workdir: str = "/tmp/meet_kevin_captions"
|
|
|
|
|
otel_service_name: str = "meet-kevin-watcher"
|
|
|
|
|
otel_metrics_port: int = 9097
|