Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
mythz committed Oct 18, 2024
2 parents bb349d0 + 0fc572b commit f1c9566
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 18 deletions.
12 changes: 6 additions & 6 deletions AiServer/seed/ai-providers.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
{
"id": 1,
"name": "openrouter",
"apiTypeId": 2,
"aiTypeId": "OpenRouter",
"apiKeyVar": "OPENROUTER_API_KEY",
"HeartbeatUrl": "https://openrouter.ai/api/v1/auth/key",
"concurrency": 1,
Expand Down Expand Up @@ -101,7 +101,7 @@
{
"id": 2,
"name": "openrouter-free",
"apiTypeId": 3,
"aiTypeId": "OpenRouter Free",
"apiKeyVar": "OPENROUTER_API_KEY",
"concurrency": 1,
"priority": 1,
Expand Down Expand Up @@ -139,7 +139,7 @@
{
"id": 3,
"name": "openai",
"apiTypeId": 4,
"aiTypeId": "Open AI",
"apiKeyVar": "OPENAI_API_KEY",
"concurrency": 1,
"priority": 0,
Expand Down Expand Up @@ -168,7 +168,7 @@
{
"id": 4,
"name": "mistral",
"apiTypeId": 5,
"aiTypeId": "Mistral AI",
"apiKeyVar": "MISTRAL_API_KEY",
"concurrency": 1,
"priority": 0,
Expand Down Expand Up @@ -200,7 +200,7 @@
{
"id": 5,
"name": "google",
"apiTypeId": 6,
"aiTypeId": "Google Cloud",
"apiKeyVar": "GOOGLE_API_KEY",
"concurrency": 1,
"priority": 0,
Expand All @@ -223,7 +223,7 @@
{
"id": 6,
"name": "groq",
"apiTypeId": 7,
"aiTypeId": "GroqCloud",
"apiKeyVar": "GROQ_API_KEY",
"concurrency": 1,
"priority": 2,
Expand Down
18 changes: 6 additions & 12 deletions example.env
Original file line number Diff line number Diff line change
@@ -1,12 +1,6 @@
# OpenAI API Key - Head to https://platform.openai.com/account/api-keys to get your API key
# OPENAI_API_KEY=your-openai-api-key
# Google Cloud API Key - Head to https://console.cloud.google.com/apis/credentials to get your API key
# GOOGLE_API_KEY=your-google-api-key
# OpenRouter API Key - Head to https://openrouter.io/ to get your API key
# OPENROUTER_API_KEY=your-openrouter-api-key
# Mistral API Key - Head to https://mistral.ai/ to get your API key
# MISTRAL_API_KEY=your-mistral-api-key
# GROQ API Key - Head to https://groq.com/ to get your API key
# GROQ_API_KEY=your-groq-api-key
# Custom Port for the AI Server
PORT=5005
OPENAI_API_KEY=your-openai-api-key
GOOGLE_API_KEY=your-google-api-key
OPENROUTER_API_KEY=your-openrouter-api-key
MISTRAL_API_KEY=your-mistral-api-key
GROQ_API_KEY=your-groq-api-key
PORT=5005

0 comments on commit f1c9566

Please sign in to comment.