From d36c9dc31dc719ef8ae90ada4e045d7afc08595d Mon Sep 17 00:00:00 2001 From: StillKnotKnown <192589389+StillKnotKnown@users.noreply.github.com> Date: Fri, 6 Feb 2026 11:13:58 +0200 Subject: [PATCH] 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 --- apps/backend/integrations/graphiti/config.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/backend/integrations/graphiti/config.py b/apps/backend/integrations/graphiti/config.py index 91d97290..374f8988 100644 --- a/apps/backend/integrations/graphiti/config.py +++ b/apps/backend/integrations/graphiti/config.py @@ -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)