AI implementation for openai and claude.

This commit is contained in:
2026-01-15 21:20:30 +01:00
parent fe70f3892c
commit 5bbec0e240
20 changed files with 623 additions and 24 deletions

16
.env.example Normal file
View File

@@ -0,0 +1,16 @@
# AI Provider API Keys
# Get Claude API key from: https://console.anthropic.com/
ANTHROPIC_API_KEY=your_anthropic_api_key_here
# Get OpenAI API key from: https://platform.openai.com/api-keys
OPENAI_API_KEY=your_openai_api_key_here
# Provider Settings
DEFAULT_PROVIDER=claude
CLAUDE_MODEL=claude-3-5-sonnet-20241022
OPENAI_MODEL=gpt-4-turbo-preview
# API Configuration
MAX_TOKENS=4000
TEMPERATURE=0.7
FRONTEND_URL=http://localhost:3000