# Investibook Configuration Example
# Copy this file to investibook.yaml and customize the values
# Environment variables with INVESTIBOOK_ prefix will override these settings

# Guardian API configuration
aiops_api_url: "http://127.0.0.1:20000"

# S3 configuration
s3_bucket: "tidbcloud-aiops-assets-dev"
aws_region: "us-west-2"
# Note: AWS credentials are read from AWS_ACCESS_KEY_ID, AWS_SECRET_ACCESS_KEY, or AWS_PROFILE

# Workspace export configuration
# When s3_bucket is set, exports are uploaded to S3 and served via presigned URL.
# When s3_bucket is empty (local mode), archives are stored under DATA_DIR/exports/
# and served directly from the backend at /api/workspace/{id}/export/{task_id}/download.
# export_s3_prefix: "investibook_service/export_workspaces"  # S3 key prefix (default shown)

# Clinic HTTP API configuration
clinic_endpoint: "https://clinic.pingcap.com"
clinic_api_key: "your-clinic-api-key-here"

# Clinic local debugging (alternative to API key)
# Get these from browser DevTools when logged into Clinic
clinic_cookie: ""
clinic_csrf_token: ""

# Jira API configuration
jira_base_url: "https://pingcap.atlassian.net"
jira_username: "your-email@example.com"
jira_api_token: "your-jira-api-token"

# LLM for comment summary (direct OpenAI call, no ACP agent)
openai_api_key: "your-openai-api-key-here"
openai_model: "gpt-4o"