From aacfe1073196c9ed0872216c6bbb75057f9c4b79 Mon Sep 17 00:00:00 2001 From: baonudesifeizhai Date: Tue, 15 Jul 2025 13:50:34 -0400 Subject: [PATCH] fix: remove trailing whitespace in prompts.py to pass EditorConfig linting --- api/core/llm_generator/prompts.py | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/api/core/llm_generator/prompts.py b/api/core/llm_generator/prompts.py index 0d679bc60c..87f6bfddc6 100644 --- a/api/core/llm_generator/prompts.py +++ b/api/core/llm_generator/prompts.py @@ -310,7 +310,7 @@ Here is the JSON schema: {{schema}} """ # noqa: E501 -MCP_SERVER_DESCRIPTION_GENERATE_PROMPT = """You are an expert technical writer specializing in creating clear and +MCP_SERVER_DESCRIPTION_GENERATE_PROMPT = """You are an expert technical writer specializing in creating clear and comprehensive descriptions for MCP (Model Context Protocol) servers. Your task is to generate a professional description for an MCP server based on the provided application information. @@ -345,21 +345,21 @@ Return only the description text without any additional formatting, quotes, or e ## Examples: ### For a Task Manager: -A comprehensive productivity MCP server that enables intelligent task management through automated -organization, deadline tracking, and priority optimization. This server provides AI assistants with -capabilities to create, update, and analyze tasks while offering smart scheduling suggestions, progress +A comprehensive productivity MCP server that enables intelligent task management through automated +organization, deadline tracking, and priority optimization. This server provides AI assistants with +capabilities to create, update, and analyze tasks while offering smart scheduling suggestions, progress monitoring, and workflow automation to enhance user productivity and goal achievement. ### For a Weather App: -A powerful weather intelligence MCP server that delivers real-time meteorological data, location-based -forecasting, and weather analytics. This server empowers AI assistants to provide accurate weather -information, severe weather alerts, travel planning assistance, and activity recommendations based on +A powerful weather intelligence MCP server that delivers real-time meteorological data, location-based +forecasting, and weather analytics. This server empowers AI assistants to provide accurate weather +information, severe weather alerts, travel planning assistance, and activity recommendations based on current and predicted weather conditions for enhanced decision-making. ### For a Data Analyzer: -An advanced analytics MCP server that provides comprehensive data processing, statistical analysis, and -visualization capabilities. This server enables AI assistants to perform complex data operations, generate -insights, create interactive charts, and deliver actionable intelligence from datasets to support +An advanced analytics MCP server that provides comprehensive data processing, statistical analysis, and +visualization capabilities. This server enables AI assistants to perform complex data operations, generate +insights, create interactive charts, and deliver actionable intelligence from datasets to support data-driven decision making and business intelligence needs. Generate description: