diff --git a/src/phoenix_technologies/smd/server.py b/src/phoenix_technologies/smd/server.py index 6cbb8a6..d86704e 100644 --- a/src/phoenix_technologies/smd/server.py +++ b/src/phoenix_technologies/smd/server.py @@ -29,7 +29,7 @@ mcp = FastMCP("SMD Researcher", host="0.0.0.0", port=8000, timeout_keep_alive=72 async def summarize_to_words(text: str, title: str, target_word_count: int = 1000) -> str: url = f"https://maas.ai-2.kvant.cloud/engines/{os.getenv('SWISSDOX_SUMMARIZING_MODEL', '')}/chat/completions" headers = { - "x-litellm-api-key": f"Bearer {os.getenv('SWISSDOX_SUMMARIZING_MODEL_APIKEY', '')}", + "x-litellm-api-key": f"{os.getenv('SWISSDOX_SUMMARIZING_MODEL_APIKEY', '')}", "Content-type": "application/json", } payload = {