From 5d7bfa383b935fc92cbab43f346a2ce7dc673638 Mon Sep 17 00:00:00 2001 From: ThomasTaroni Date: Mon, 11 Aug 2025 13:27:37 +0200 Subject: [PATCH] Remove unused timeout_keep_alive parameter from FastMCP init The `timeout_keep_alive` parameter was removed to align with updated requirements or defaults of the FastMCP initialization. This change simplifies the configuration while maintaining functionality. --- src/phoenix_technologies/smd/server.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/phoenix_technologies/smd/server.py b/src/phoenix_technologies/smd/server.py index 9af07ae..342c17c 100644 --- a/src/phoenix_technologies/smd/server.py +++ b/src/phoenix_technologies/smd/server.py @@ -25,7 +25,7 @@ logging.basicConfig( logger = logging.getLogger(__name__) # Initialize FastMCP server -mcp = FastMCP("SMD Researcher", host="0.0.0.0", port=8000, timeout_keep_alive=720) +mcp = FastMCP("SMD Researcher", host="0.0.0.0", port=8000) 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"