常驻用量

抄作业 / 做成了什么 / OpenAI Dots

Dot2API:把 Dot 变成兼容 OpenAI/Claude 的 API

做了什么
自托管网关,把一个 OpenAI Dot 暴露为兼容 OpenAI 和 Claude 的 API。README 警告:持有 API key 的人都能驱使你的 Dot 及其已连接的应用,只能发给像信任自己一样信任的调用方。
场景
写代码上线
资料完整度
  • 作者与原链接有
  • 做了什么有
  • 来源原文摘录有
  • 截图 / 媒体来源未提供
  • 步骤 / 章节有
  • 提示词 / 配置原文来源未提供
  • 结果 / 数字来源未提供
  • 风险提示有
  • 相关条目有

— 表示来源没有给出,本站不补写。

来源原文摘录
Turn your OpenAI Dot into an OpenAI- and Claude-compatible API
Turn your OpenAI Dot into an OpenAI- and Claude-compatible API Dot2API is a self-hosted gateway that exposes one OpenAI Dot through the OpenAI Chat Completions and Anthropic Messages formats. Point an existing SDK at it: each request is queued, your Dot is woken through MCP Events, it claims and answers the request over MCP, and the reply comes back as a normal completion. Unlike most 2API projects, Dot2API does not reverse-engineer a web interface and never touches your OpenAI credentials. It uses the public MCP 2.0 connector and Events protocol, and it never calls a model itself.
Pluviobyte · · 打开原文 ↗

摘自项目 README,照录原文,未翻译。

来源里的步骤 / 要点
  1. `api_key` is what callers put in their SDK.
  2. `dot_token` is what the Dot uses to reach the MCP endpoint.
  3. Add an MCP connector pointing at `https:///mcp` with `dot_token` as the bearer credential. If the connector cannot send an authorization header, start the serve
  4. Ask the Dot to watch the `task.available` event on queue `dot`.
  5. Give the Dot its standing instructions: list queued tasks, claim one, answer the conversation, complete the task.

照录来源原文,未翻译。

提示词

来源没有给出可直接复制的提示词原文。

怎么复制
  1. 打开仓库:github.com/Pluviobyte/dot2api ↗
  2. 读 README,把仓库链接发给你的 Bot,让它按 README 复现
  3. 先在小范围跑通,再加 routine
风险与限制
  • 作者的结果不保证能复现,以原帖为准
用量预估
用金属计算器估一下