|
1 | | -# OpenAI API Configuration |
2 | | -OPENAI_API_KEY= |
| 1 | +# GitHub Configuration (required) |
| 2 | +APP_NAME_GITHUB=your_app_name |
| 3 | +APP_CLIENT_ID_GITHUB=your_client_id |
| 4 | +APP_CLIENT_SECRET_GITHUB=your_client_secret |
3 | 5 |
|
4 | | -# LangChain Configuration |
5 | | -LANGCHAIN_TRACING_V2=true |
| 6 | +PRIVATE_KEY_BASE64_GITHUB=your_private_key_base64 |
| 7 | +WEBHOOK_SECRET_GITHUB=your_webhook_secret |
| 8 | + |
| 9 | +# AI Provider Selection |
| 10 | +AI_PROVIDER=openai # Options: openai, bedrock, vertex_ai |
| 11 | + |
| 12 | +# Common AI Settings (defaults for all agents) |
| 13 | +AI_MAX_TOKENS=4096 |
| 14 | +AI_TEMPERATURE=0.1 |
| 15 | + |
| 16 | +# OpenAI Configuration (when AI_PROVIDER=openai) |
| 17 | +OPENAI_API_KEY=your_openai_api_key_here |
| 18 | +OPENAI_MODEL=gpt-4.1-mini # Optional, defaults to gpt-4.1-mini |
| 19 | + |
| 20 | +# AWS Bedrock Configuration (when AI_PROVIDER=bedrock) |
| 21 | +# BEDROCK_REGION=us-east-1 |
| 22 | +# BEDROCK_MODEL_ID=anthropic.claude-3-sonnet-20240229-v1:0 |
| 23 | +# AWS_ACCESS_KEY_ID=your_aws_access_key # Optional, can use AWS profile instead |
| 24 | +# AWS_SECRET_ACCESS_KEY=your_aws_secret_key # Optional, can use AWS profile instead |
| 25 | +# AWS_PROFILE=your_aws_profile # Optional, alternative to access keys |
| 26 | + |
| 27 | +# Google Vertex AI Configuration (when AI_PROVIDER=vertex_ai) |
| 28 | +# GCP_PROJECT_ID=your-gcp-project-id |
| 29 | +# GCP_LOCATION=us-central1 |
| 30 | +# VERTEX_AI_MODEL=gemini-pro # Options: gemini-pro, gemini-1.5-pro, claude-3-opus@20240229, etc. |
| 31 | +# GCP_SERVICE_ACCOUNT_KEY_BASE64=your_base64_encoded_service_account_key # Optional, can use ADC instead |
| 32 | + |
| 33 | +# Engine Agent Configuration |
| 34 | +AI_ENGINE_MAX_TOKENS=8000 # Default: 8000 |
| 35 | +AI_ENGINE_TEMPERATURE=0.1 |
| 36 | + |
| 37 | +# Feasibility Agent Configuration |
| 38 | +AI_FEASIBILITY_MAX_TOKENS=4096 |
| 39 | +AI_FEASIBILITY_TEMPERATURE=0.1 |
| 40 | + |
| 41 | +# Acknowledgment Agent Configuration |
| 42 | +AI_ACKNOWLEDGMENT_MAX_TOKENS=2000 |
| 43 | +AI_ACKNOWLEDGMENT_TEMPERATURE=0.1 |
| 44 | + |
| 45 | +# LangSmith Configuration |
| 46 | +LANGCHAIN_TRACING_V2=false |
6 | 47 | LANGCHAIN_ENDPOINT=https://api.smith.langchain.com |
7 | 48 | LANGCHAIN_API_KEY= |
8 | | -LANGCHAIN_PROJECT= |
9 | | - |
10 | | -# AWS Configuration |
11 | | -AWS_ACCESS_KEY_ID= |
12 | | -AWS_SECRET_ACCESS_KEY= |
| 49 | +LANGCHAIN_PROJECT=watchflow-dev |
13 | 50 |
|
14 | | -# Application Configuration |
15 | | -ENVIRONMENT=development |
| 51 | +# CORS Configuration |
16 | 52 | CORS_HEADERS=["*"] |
17 | | -CORS_ORIGINS='["http://localhost:3000", "http://127.0.0.1:3000"]' |
| 53 | +CORS_ORIGINS=["http://localhost:3000", "http://127.0.0.1:3000", "http://localhost:5500", "https://warestack.github.io", "https://watchflow.dev"] |
| 54 | + |
| 55 | +# Repository Configuration |
| 56 | +REPO_CONFIG_BASE_PATH=.watchflow |
| 57 | +REPO_CONFIG_RULES_FILE=rules.yaml |
18 | 58 |
|
19 | | -# GitHub OAuth Configuration |
20 | | -APP_NAME_GITHUB= |
21 | | -CLIENT_ID_GITHUB= |
22 | | -CLIENT_SECRET_GITHUB= |
23 | | -PRIVATE_KEY_BASE64_GITHUB= |
24 | | -REDIRECT_URI_GITHUB=http://localhost:3000 |
| 59 | +# Logging Configuration |
| 60 | +LOG_LEVEL=INFO |
| 61 | +LOG_FORMAT=%(asctime)s - %(name)s - %(levelname)s - %(message)s |
| 62 | +LOG_FILE_PATH= |
25 | 63 |
|
26 | | -# GitHub Webhook Configuration |
27 | | -WEBHOOK_SECRET_GITHUB= |
| 64 | +# Development Settings |
| 65 | +DEBUG=false |
| 66 | +ENVIRONMENT=development |
0 commit comments