- Add openai-bridge service (port 3251) for ChatGPT and Codex integration - Update external-providers.ts with openai and chatgpt provider definitions - Add GPT-4 Turbo, GPT-4, and GPT-3.5 Turbo models to provider registry - Modify getApiKey() to handle bridge provider authentication - Modify getBaseUrl() to construct URLs from env vars - Update ecosystem.config.cjs with OPENAI_BRIDGE_URL and OPENAI_API_KEY config - Add openai-bridge PM2 service configuration (port 3251) - Support both claude-bridge (port 3250) and openai-bridge (port 3251) as subscription services - Extend fallback chain: claude → openai/chatgpt → cerebras → groq → mistral → nvidia → cloudflare Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>
30 lines
675 B
JSON
30 lines
675 B
JSON
{
|
|
"name": "@llm-gateway/learning",
|
|
"version": "1.0.0",
|
|
"type": "module",
|
|
"scripts": {
|
|
"dev": "tsx watch src/index.ts",
|
|
"start": "node --import tsx/esm src/index.ts",
|
|
"build": "tsc",
|
|
"test": "vitest"
|
|
},
|
|
"dependencies": {
|
|
"pg": "^8.13.1",
|
|
"pg-boss": "^10.1.3",
|
|
"js-yaml": "^4.1.0",
|
|
"node-cron": "^3.0.3",
|
|
"pino": "^9.5.0",
|
|
"tsx": "^4.19.2",
|
|
"@llm-gateway/prompt-optimizer": "*",
|
|
"@llm-gateway/types": "*"
|
|
},
|
|
"devDependencies": {
|
|
"typescript": "^5.7.2",
|
|
"@types/node": "^22.10.6",
|
|
"@types/pg": "^8.11.10",
|
|
"@types/node-cron": "^3.0.11",
|
|
"@types/js-yaml": "^4.0.9",
|
|
"vitest": "^2.0.5"
|
|
}
|
|
}
|