# Fixture: AAO Gateway server enabled, with a backend pool + virtual keys.
# v1 layout (no config_version key). Tests that the gateway.* block passes
# through untouched (it's already first-class in v1 and v2) and that the
# worker side still gets a v2 llm block from provider.*.

provider:
  model: qwen3:8b
  base_url: http://localhost:11434/v1
  metrics:
    enabled: true
    prefix: aao_worker
    bearer_token: ${AAO_WORKER_METRICS_BEARER_TOKEN}
    allowed_hosts:
      - 127.0.0.1
      - ::1

gateway:
  enabled: true
  listen_port: 4000
  request_timeout_sec: 600
  upstream_timeout_sec: 30
  shutdown_graceful_sec: 30
  backends:
    - id: gpu-rtx-a
      endpoint: http://10.0.0.10:11434/v1
      model: qwen3:8b
      max_slots: 4
      api_key: ${GPU_RTX_A_KEY}
    - id: gpu-rtx-b
      endpoint: http://10.0.0.10:11434/v1
      model: qwen3:8b
      max_slots: 4
  virtual_keys:
    - key: ${TEAM_A_GATEWAY_KEY}
      team: team-a
      tokens_budget: 500000
      rate_limit_rpm: 60
  metrics:
    enabled: true
    prefix: aao_gateway
    bearer_token: ${AAO_GATEWAY_METRICS_BEARER_TOKEN}
