# ============================================
# 🔑 LLM Configuration
# ============================================
# Your API key for the LLM provider (OpenAI, Azure, etc.)
API_KEY=your-api-key-here

# Base URL for the LLM API endpoint
API_BASE=https://api.openai.com/v1

# Model name to use (e.g., gpt-4o, gpt-4o-mini, gpt-3.5-turbo)
MODEL_NAME=gpt-4o-mini

# Temperature for response generation (0.0 - 1.0)
TEMPERATURE=0.7

# ============================================
# 📊 Observability & Telemetry (Optional)
# ============================================
# Enable/disable telemetry tracking
TRACELOOP_TELEMETRY=false

# Base URL for telemetry endpoint (e.g., Dynatrace, OpenTelemetry)
TRACELOOP_BASE_URL=https://your-telemetry-endpoint.com/api/v2/otlp

# Headers for telemetry authentication
TRACELOOP_HEADERS=Authorization=Api-Token%20your-token-here

# Enable/disable metrics collection
TRACELOOP_METRICS_ENABLED=false

# ============================================
# 🤖 Agent Configuration
# ============================================
# System instructions for the agent's behavior
AGENT_INSTRUCTIONS="You are an AI assistant that helps people with their tasks. Be helpful, concise, and accurate."

# ============================================
# 🌐 A2A (Agent-to-Agent) Protocol Configuration
# ============================================
# Name of your agent (shown in agent card)
AGENT_NAME="My AI Agent"

# Description of what your agent does
AGENT_DESCRIPTION="An AI agent that helps with various tasks."

# Base URL where this agent is hosted (for A2A discovery)
AGENT_BASE_URL=http://localhost:8001

# ============================================
# 📨 Kafka Configuration (Optional)
# ============================================
# Enable/disable Kafka integration
# Set to true to activate Kafka consumer and producer
MOUNT_KAFKA=false

# ---- Common Kafka Settings ----
# Bootstrap servers for Kafka cluster (comma-separated for multiple brokers)
KAFKA_BOOTSTRAP_SERVERS=localhost:9092

# Kafka security protocol (PLAINTEXT, SASL_SSL, SSL)
KAFKA_SECURITY_PROTOCOL=SASL_SSL

# SASL mechanism for authentication (SCRAM-SHA-512, PLAIN, etc.)
KAFKA_SASL_MECHANISM=SCRAM-SHA-512

# Kafka SASL username
KAFKA_SASL_USERNAME=your-kafka-username

# Kafka SASL password
KAFKA_SASL_PASSWORD=your-kafka-password

# ---- Kafka Consumer Settings ----
# Input topic for consuming messages
KAFKA_INPUT_TOPIC=agent-input-topic

# Consumer group ID
KAFKA_GROUP_ID=orchestration-agent-consumer-group

# Auto offset reset policy (earliest, latest, none)
KAFKA_AUTO_OFFSET_RESET=earliest

# Enable/disable auto-commit of consumed messages
KAFKA_ENABLE_AUTO_COMMIT=true

# Maximum concurrent messages to process
KAFKA_MAX_CONCURRENT_MESSAGES=10

# Maximum retries for failed messages
KAFKA_MAX_RETRY_MESSAGES=3

# ---- Kafka Producer Settings ----
# Output/response topic for producing messages
KAFKA_OUTPUT_TOPIC=agent-output-topic

# Note: If MOUNT_KAFKA=false, all Kafka settings will be ignored


