feat(providers): added openrouter support

This commit is contained in:
namanb
2025-04-02 12:24:27 +05:30
parent a8d410bc2f
commit 3545137bc0
8 changed files with 102 additions and 5 deletions

View File

@@ -1,6 +1,6 @@
[GENERAL]
SIMILARITY_MEASURE = "cosine" # "cosine" or "dot"
KEEP_ALIVE = "5m" # How long to keep Ollama models loaded into memory. (Instead of using -1 use "-1m")
SIMILARITY_MEASURE = "cosine"
KEEP_ALIVE = "5m"
[MODELS.OPENAI]
API_KEY = ""
@@ -8,6 +8,9 @@ API_KEY = ""
[MODELS.GROQ]
API_KEY = ""
[MODELS.OPENROUTER]
API_KEY = ""
[MODELS.ANTHROPIC]
API_KEY = ""
@@ -20,7 +23,7 @@ API_URL = ""
MODEL_NAME = ""
[MODELS.OLLAMA]
API_URL = "" # Ollama API URL - http://host.docker.internal:11434
API_URL = ""
[API_ENDPOINTS]
SEARXNG = "" # SearxNG API URL - http://localhost:32768
SEARXNG = ""