tianruci commited on
Commit
794a4b4
·
verified ·
1 Parent(s): 7f0a1e5

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -69,7 +69,8 @@ def get_trending_repos(num: int = 10) -> dict:
69
  fetch_github_trending()
70
  return {"trending": cached_trending[:num]}
71
 
72
- app.mount("/mcp", mcp_server.http_app())
 
73
 
74
  async def trending_generator():
75
  """SSE 事件生成器"""
 
69
  fetch_github_trending()
70
  return {"trending": cached_trending[:num]}
71
 
72
+ #app.mount("/mcp", mcp_server.http_app())
73
+ app.mount("/mcp", mcp_server.streamable_http_app())
74
 
75
  async def trending_generator():
76
  """SSE 事件生成器"""