# Swapper Configuration for Node #2 (Development Node)
# MacBook Pro M4 Max - Apple Silicon (40-core GPU, 64GB RAM)
#
# NOTE: Swapper is now a runtime gateway / executor only.
# Source of truth for models is NCS (Node Capabilities Service).
# No hardcoded model lists — Swapper queries NCS or Ollama /api/tags at startup.

node_id: noda2

runtimes:
  ollama:
    url: http://host.docker.internal:11434
    timeout: 300
  # mlx:
  #   stt_model: whisper-large-v3-turbo
  #   tts_model: kokoro-82m
  # comfyui:
  #   url: http://127.0.0.1:8188

limits:
  llm_concurrency: 1
  vision_concurrency: 1
  max_concurrent_models: 1
  model_swap_timeout: 300

timeouts:
  llm_ms: 120000
  vision_ms: 180000
  stt_ms: 60000
  tts_ms: 60000
  image_gen_ms: 300000

gpu:
  enabled: true
  metal_acceleration: true

storage:
  models_dir: /app/models
  cache_dir: /app/cache
  swap_dir: /app/swap
