# Basic Reactive Chat Configuration - Actor-First Version
# Simple conversational agent using actors instead of provider/model

agents:
  chat_agent:
    type: llm
    config:
      # Use actor instead of provider/model
      actor: openai/gpt-4
      temperature: 0.8
      system_prompt: |
        You are a helpful and friendly AI assistant.
        Respond naturally and conversationally.

# Unified routes section with actor-first approach
routes:
  # Main chat processing route
  chat_stream:
    type: stream
    stream_type: cold
    operators:
      - type: map
        params:
          agent: chat_agent
    publications:
      - __output__

# Simple flow: input -> chat -> output
merges:
  - sources: [__input__]
    target: chat_stream

context:
  global:
    conversation_mode: true
    # Actor-specific context variables
    default_actor: openai/gpt-4