Skip to main content

面条实验室

折腾些什么玩意。

群组 @miantiao_chat
  1. Cloudflare AI Gateway 回源超时时间是 100s, 但是使用 Gemini 2.5 Pro 这些推理模型不使用流式输出的时候,超时时间很容易超过 100s。

    然后报 HTTP 524 错误,真让人头痛
  2. 使用 npx uvx 直接在本地运行 mcp server 还是挺危险的, 要是有支持 sandbox 的 JS/Python 运行环境就好了

    npx —sandbox

    uvx —sandbox
  3. 使用 #Cloudflare 新出的 AutoRAG 和 Agents 做了一个 #GitHub Stars 的 MCP Server

    工作流程大概是:

    通过 GitHub Action 将 GitHub Stars 的 README 上传到 R2;

    然后使用 Cloudflare 的 AutoRag 进行 embeding;

    再使用 Cloudflare Agents 的框架包装成一个 MCP SSE Server;

    实现起来倒挺快,代码没几行。就是检索效果一般,等新的 Embeding 模型吧。

    有兴趣的可以一起完善,链接🔗在:

    https://github.com/ccbikai/github-stars
1px