tianruci commited on
Commit
235f5b6
·
verified ·
1 Parent(s): 70b169d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -63,7 +63,7 @@ def get_trending_repos(num: int = 10) -> dict:
63
  fetch_github_trending()
64
  return {"trending": cached_trending[:num]}
65
 
66
- app.mount("/mcp", mcp_server.asgi_app)
67
  async def trending_generator():
68
  """SSE 事件生成器"""
69
  while True:
 
63
  fetch_github_trending()
64
  return {"trending": cached_trending[:num]}
65
 
66
+ app.mount("/mcp", mcp_server.sse_app)
67
  async def trending_generator():
68
  """SSE 事件生成器"""
69
  while True: