From 54b7e1af993e88e2f3f2f7583e74ac58dd697094 Mon Sep 17 00:00:00 2001 From: yuneng-jiang Date: Mon, 23 Feb 2026 15:12:05 -0800 Subject: [PATCH] adjust blog post path --- blog_posts.json | 16 ---------------- litellm/__init__.py | 2 +- litellm/blog_posts.json | 10 ++++++++++ 3 files changed, 11 insertions(+), 17 deletions(-) delete mode 100644 blog_posts.json create mode 100644 litellm/blog_posts.json diff --git a/blog_posts.json b/blog_posts.json deleted file mode 100644 index 8e29e3c4e19..00000000000 --- a/blog_posts.json +++ /dev/null @@ -1,16 +0,0 @@ -{ - "posts": [ - { - "title": "LiteLLM: Unified Interface for 100+ LLMs", - "description": "Learn how LiteLLM provides a single interface to call any LLM with OpenAI-compatible syntax.", - "date": "2026-02-01", - "url": "https://www.litellm.ai/blog/litellm" - }, - { - "title": "Using the LiteLLM Proxy for Load Balancing", - "description": "Set up the LiteLLM proxy server to load balance across multiple LLM providers and deployments.", - "date": "2026-01-15", - "url": "https://www.litellm.ai/blog/proxy-load-balancing" - } - ] -} diff --git a/litellm/__init__.py b/litellm/__init__.py index 60cc5514ec8..1e74b5692e4 100644 --- a/litellm/__init__.py +++ b/litellm/__init__.py @@ -341,7 +341,7 @@ model_cost_map_url: str = os.getenv( ) blog_posts_url: str = os.getenv( "LITELLM_BLOG_POSTS_URL", - "https://raw.githubusercontent.com/BerriAI/litellm/main/blog_posts.json", + "https://raw.githubusercontent.com/BerriAI/litellm/main/litellm/blog_posts.json", ) anthropic_beta_headers_url: str = os.getenv( "LITELLM_ANTHROPIC_BETA_HEADERS_URL", diff --git a/litellm/blog_posts.json b/litellm/blog_posts.json new file mode 100644 index 00000000000..15340514bcc --- /dev/null +++ b/litellm/blog_posts.json @@ -0,0 +1,10 @@ +{ + "posts": [ + { + "title": "Incident Report: SERVER_ROOT_PATH regression broke UI routing", + "description": "How a single line removal caused UI 404s for all deployments using SERVER_ROOT_PATH, and the tests we added to prevent it from happening again.", + "date": "2026-02-21", + "url": "https://docs.litellm.ai/blog/server-root-path-incident" + } + ] +}