Initial commit: ein-ai-proxy
Anthropic-compatible API proxy that routes requests to multiple providers (Anthropic, Z.ai/GLM-4.7, DeepSeek V3.2) based on model name. Zero dependencies, SSE streaming, bearer token auth. Designed to run behind Caddy/nginx on a home server, enabling Claude Code and Roo Code clients to connect from anywhere.
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
{
|
||||
"port": 3100,
|
||||
"authToken": "CHANGE_ME_TO_A_LONG_RANDOM_STRING",
|
||||
"providers": {
|
||||
"anthropic": {
|
||||
"apiKey": "sk-ant-YOUR_ANTHROPIC_KEY"
|
||||
},
|
||||
"zai": {
|
||||
"apiKey": "YOUR_ZAI_KEY"
|
||||
},
|
||||
"deepseek": {
|
||||
"apiKey": "YOUR_DEEPSEEK_KEY"
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user