fix: remove incorrect /v1 suffix from OpenRouter API URL (#1749)

The OpenRouter API endpoint should be https://openrouter.ai/api,
not https://openrouter.ai/api/v1. The /v1 suffix was being added
incorrectly, causing API authentication failures.

Fixed in:
- Frontend API provider presets (Profile Edit Dialog)
- Backend Graphiti memory integration config

Co-authored-by: StillKnotKnown <[email protected]>
This commit is contained in:
StillKnotKnown
2026-02-09 12:31:36 +02:00
committed by StillKnotKnown
co-authored by StillKnotKnown
parent 9643c69686
commit d36c9dc31d
+1 -1
View File
@@ -146,7 +146,7 @@ class GraphitiConfig:
# OpenRouter settings (multi-provider aggregator)
openrouter_api_key: str = ""
openrouter_base_url: str = "https://openrouter.ai/api"
openrouter_llm_model: str = "anthropic/claude-3.5-sonnet"
openrouter_llm_model: str = "anthropic/claude-sonnet-4"
openrouter_embedding_model: str = "openai/text-embedding-3-small"
# Ollama settings (local)