api_version: cmvr.edge.ai/v1

runtime:
  thread_workers: 3
  shutdown_timeout_s: 8

pipelines:
  talk_smoke:
    enabled: true
    nodes:
      audio_stream_placeholder:
        # Replace with cmvr.grpc.microphone_audio_stream@1 when its proto lands.
        uses: core.sequence_source@1
        with:
          items:
            - simulated-audio-chunk
          schema_name: AudioChunk
          schema_version: 1

      dialogue_placeholder:
        # The real chain will be VAD -> ASR -> dialogue -> TTS.
        uses: core.passthrough@1

      output:
        uses: core.log_sink@1
        with:
          logger: cmvr_edge_ai.talk

    edges:
      - from: audio_stream_placeholder.output
        to: dialogue_placeholder.input
        qos:
          profile: audio_contiguous
          capacity: 16
          overflow: block

      - from: dialogue_placeholder.output
        to: output.input
        qos:
          profile: request
          capacity: 8
          overflow: block
