Jofthomas commited on
Commit
1dd5d78
·
verified ·
1 Parent(s): e7eec61

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -154,8 +154,8 @@ def _ai_generate_title_summary(client: Mistral, title: str, selftext: str) -> Pa
154
 
155
  return resp.choices[0].message.parsed # type: ignore[return-value, attr-defined]
156
 
157
-
158
- @mcp.tool(description="Scan r/MistralAI for problem-like posts using AI and return extracted pain points.")
159
  def scan_mistralai_pain_points(limit: int = 50, min_score: int = 0) -> List[PainPoint]:
160
  """
161
  Fetch recent posts from r/MistralAI and extract a list of pain points using a two-step AI flow:
 
154
 
155
  return resp.choices[0].message.parsed # type: ignore[return-value, attr-defined]
156
 
157
+ #@mcp.tool(description="Scan r/MistralAI for problem-like posts using AI and return extracted pain points.")
158
+ @mcp.tool()
159
  def scan_mistralai_pain_points(limit: int = 50, min_score: int = 0) -> List[PainPoint]:
160
  """
161
  Fetch recent posts from r/MistralAI and extract a list of pain points using a two-step AI flow: