From aa992434f0c1c76df0bff63ccd2d1c2e4d251311 Mon Sep 17 00:00:00 2001 From: DetroitTommy <45469533+detroittommy879@users.noreply.github.com> Date: Mon, 8 Dec 2025 20:37:24 -0500 Subject: [PATCH] Fix: Add missing Authorization header for MiniMax API --- mini_agent/llm/anthropic_client.py | 1 + 1 file changed, 1 insertion(+) diff --git a/mini_agent/llm/anthropic_client.py b/mini_agent/llm/anthropic_client.py index 5859c8d..a8c3af3 100644 --- a/mini_agent/llm/anthropic_client.py +++ b/mini_agent/llm/anthropic_client.py @@ -42,6 +42,7 @@ def __init__( self.client = anthropic.AsyncAnthropic( base_url=api_base, api_key=api_key, + default_headers={"Authorization": f"Bearer {api_key}"}, ) async def _make_api_request(