mirror of
https://github.com/tiennm99/claude-central-gateway.git
synced 2026-04-17 13:20:56 +00:00
feat: Implement OpenAI proxy with streaming support
- Add main proxy endpoint (api/v1/messages.js) - Add token validation via GATEWAY_TOKEN - Add model mapping via MODEL_MAP env var - Support full SSE streaming in Anthropic format - Add package.json with openai dependency - Add vercel.json for routing config - Update README with Quick Start guide - Consolidate memory to .claude/memory/ Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
16
package.json
Normal file
16
package.json
Normal file
@@ -0,0 +1,16 @@
|
||||
{
|
||||
"name": "claude-central-gateway",
|
||||
"version": "1.0.0",
|
||||
"description": "A lightweight proxy for Claude Code that routes requests to third-party API providers",
|
||||
"private": true,
|
||||
"scripts": {
|
||||
"start": "vercel dev",
|
||||
"deploy": "vercel --prod"
|
||||
},
|
||||
"dependencies": {
|
||||
"openai": "^4.85.0"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">=18"
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user