# =============================================================================
# STRANDS INSURANCE AGENT ENVIRONMENT CONFIGURATION
# =============================================================================
# Copy this file to .env and update the values below with your specific configuration
# 
# Instructions:
# 1. Copy this file: cp .env_example .env
# 2. Update each value according to the instructions below
# 3. Never commit the .env file to version control (it's in .gitignore)

# =============================================================================
# MCP Server Configuration
# =============================================================================
# MCP_SERVER_URL: The URL of your deployed MCP server through AgentCore Gateway
# Get this from the gateway_info.json file after deploying the MCP server
# Format: https://<gateway-id>.gateway.bedrock-agentcore.<region>.amazonaws.com/mcp
MCP_SERVER_URL="https://insurance-app-uniqueid.gateway.bedrock-agentcore.us-west-2.amazonaws.com/mcp"

# MCP_ACCESS_TOKEN: JWT access token for authenticating with the MCP server
# IMPORTANT: This token expires and must be refreshed regularly
# 
# How to get this token:
# 1. Run the refresh_token.sh script in this directory
# 2. Or get it from the gateway_info.json file after MCP server deployment
# 3. Token typically expires in 1 hour - use refresh_token.sh to get a new one
#
# Note: This is a long JWT token string starting with "eyJ"
MCP_ACCESS_TOKEN="jwt_token"

# =============================================================================
# Model Configuration
# =============================================================================
# MODEL_NAME: The Amazon Bedrock model to use for the insurance agent
# Available models include:
# - global.anthropic.claude-haiku-4-5-20251001-v1:0 (Claude Haiku 4.5)
# 
# Note: Ensure the model is available in your AWS region
MODEL_NAME="global.anthropic.claude-haiku-4-5-20251001-v1:0"

# =============================================================================
# Optional Configuration
# =============================================================================
# GATEWAY_INFO_FILE: Path to the gateway info file from MCP server deployment
# This file contains gateway details and is used by refresh_token.sh script
# Update the path if your MCP server deployment is in a different location
GATEWAY_INFO_FILE="../cloud_mcp_server/1_pre_req_setup/gateway_info.json"

# =============================================================================
# TOKEN REFRESH INSTRUCTIONS
# =============================================================================
# The MCP_ACCESS_TOKEN expires regularly (typically every hour).
# To refresh your token:
# 
# 1. Make sure you have the gateway_info.json file from MCP server deployment
# 2. Run: ./refresh_token.sh
# 3. The script will update your .env file with a new token automatically
# 
# If you get authentication errors, your token has likely expired.
