mirror of
https://github.com/stackblitz/bolt.new
synced 2025-06-26 18:17:50 +00:00
- Added support for OpenAI alongside existing Anthropic model. - Introduced environment variables for API key, base URL, model, and AI provider. - Updated model selection logic to accommodate multiple AI providers. - Refactored model functions to streamline API key retrieval and model initialization. - Enhanced sidebar component by removing unused imports. Additionally, updated package dependencies and added a new entry to .gitignore for history files.
8 lines
126 B
TypeScript
8 lines
126 B
TypeScript
interface Env {
|
|
ANTHROPIC_API_KEY: string;
|
|
API_KEY: string;
|
|
BASE_URL: string;
|
|
MODEL: string;
|
|
AI_PROVIDER: string;
|
|
}
|