注册 登录
n/m365-copilot · 1 个月前 · 1417 次浏览
u/user80王者钻石会员
n/m365-copilotu/user80 钻石会员 · 1 个月前

M365-Copilot2API v0.7.3 已发布

v0.7.3 已发布:https://github.com/HEXUXIU/M365-Copilot2API/releases/tag/v0.7.3
Release 和 CI 成功,26 个跨平台产物齐全。

这版发布了什么?
修的 4 个 bug:

  1. 流式缓冲 — recoverPanics 吞掉 Flush,所有 SSE 响应一直攒到 handler 返回才一次性下发。首字节从"等于总时长"变成真正的增量下发。
  2. 围栏截断(issue #102)— 代码块之后的正文被丢弃,任何带代码块的回复都在第一个围栏处被截断。现在非工具调用的围栏按顺序就地发出。
  3. 200 空正文 — 首字节前失败时返回 200 + 空 body + 一个硬编码成 rate_limit 的错误帧。严格按 OpenAI 规范解析的客户端会静默丢弃整个请求(10 并发 40 发里出现 3 次)。现在返回真实状态码并如实命名原因。
  4. codex 工具调用 — codex 把工具声明塞在 input[ ].additional_tools 里还套了层 namespace,网关压根没读。codex 每个会话只说一句"我来执行"就结束,零工具调用。这是本轮最严重的发现。

改进:
换号重试加抖动退避(避免突发时所有排队请求同刻重试再次撞墙)
首字节超时换号(75s→40s)
新增 /api/metrics(p50/p95/p99、错误率、分端点、账号健康)
英文 README 和完整英文控制台(#99)。

14
43
登录后参与讨论。

43 条回复

排序
  1. golawy 白银 3 YEARS 1 个月前 #2

    昔人已乘黄鹤去,此地空余黄鹤楼

    3
  2. user80 王者 楼主 钻石会员 1 个月前 #3
    回复 @golawy:昔人已乘黄鹤去,此地空余黄鹤楼

    黄鹤一去不复返,白云千载空悠悠 :xhj32:

    1
  3. Jwz-git 黄金 1 个月前 #4

    我之前一直502是什么问题
    :ac01:

    2
  4. user80 王者 楼主 钻石会员 1 个月前 #5
    回复 @golawy:昔人已乘黄鹤去,此地空余黄鹤楼

    何不食Edu号? :xhj001:

    0
  5. golawy 白银 3 YEARS 1 个月前 #6
    回复 @user80:黄鹤一去不复返,白云千载空悠悠 :xhj32:

    只等能微软下一个漏洞

    0
  6. user80 王者 楼主 钻石会员 1 个月前 #7
    回复 @golawy:只等能微软下一个漏洞

    之前的EDU账号没有吗

    0
  7. golawy 白银 3 YEARS 1 个月前 #8
    回复 @user80:何不食Edu号? :xhj001:

    西班牙那个edu好像也没了吧

    0
  8. user80 王者 楼主 钻石会员 1 个月前 #9
    回复 @Jwz-git:我之前一直502是什么问题 :ac01:

    我能猜到的话,我也很神了.... 🫪
    给日志,提交issue,谢谢 :xhj28:

    0
  9. Jwz-git 黄金 1 个月前 #10
    回复 @user80:我能猜到的话,我也很神了.... 🫪 给日志,提交issue,谢谢 :xhj28:

    我还以为有人反馈了这种情况,难道只有我这样吗

    1
  10. Yang-iyu 白银 1 个月前 #11

    严肃Fork,话说我最近扫到一个域名可以申请edu子号,应该是之前某个大佬绑定了教育全局但是域名没有续期……

    0
  11. AGAGAG666 白银 3 YEARS 1 个月前 #12

    话说现在还咋搞号,之前大佬的自动申请注册没了 :ac01:

    0
  12. samsw 白银 1 个月前 #13

    谢谢博主

    0
  13. Tsenji1 白银 3 YEARS 1 个月前 #14

    M365的模型到底是怎樣,感覺他的gpt 有降智 但這工具日常使用還是非常的實用🙏

    0
  14. user80 王者 楼主 钻石会员 1 个月前 #15
    回复 @AGAGAG666:话说现在还咋搞号,之前大佬的自动申请注册没了 :ac01:

    教育邮箱吧?
    就是野鸡大学一般也都有(只要是e3/a1/e5就行)
    还有后面如果谁能给我个个人版本的office pre的话,我可以把那个逆向了(目前没有这个)

    1
  15. tszwhl 白银 不离不弃 1 个月前 #16

    M365 Copilot for VS Code这个插件能不能用?

    0
  16. user80 王者 楼主 钻石会员 1 个月前 #17
    回复 @tszwhl:M365 Copilot for VS Code这个插件能不能用?

    嘶~理论上可以的 吧?

    0
  17. tszwhl 白银 不离不弃 1 个月前 #18
    回复 @user80:嘶~理论上可以的 吧?

    用这个插件,我按照作者教程,插件提取不到令牌

    0
  18. tszwhl 白银 不离不弃 1 个月前 #19

    谁能看一下这个 M365 Copilot for VS Code插件能不能用啊

    0
  19. user80 王者 楼主 钻石会员 1 个月前 #20
    回复 @tszwhl:用这个插件,我按照作者教程,插件提取不到令牌

    什么提取令牌 提取什么啊

    0
  20. tszwhl 白银 不离不弃 1 个月前 #21
    回复 @user80:什么提取令牌 提取什么啊

    vscode里面的插件,没事小白问问

    0
  21. korhomme 👼 钻石 3 YEARS 1 个月前 #22

    楼主好人,感谢分享

    0
  22. mumuzhi_wong 白银 1 个月前 #23

    全部显示离线是什么情况,账号是E3

    0
  23. user80 王者 楼主 钻石会员 1 个月前 #24
    回复 @mumuzhi_wong:全部显示离线是什么情况,账号是E3

    是不是账号当时没有续成功
    试试自己登录一下?

    0
  24. Yang-iyu 白银 1 个月前 #25

    虽然是GPT5.6SOL但是思维链太低了或者甚至压根没有思考

    1
  25. na_lu 黄金 1 个月前 #26

    需要再M365中设置
    You are an AI assistant accessed via an API. Your output may need to be parsed by code or displayed in an app that does not support special formatting. Therefore, unless explicitly requested, you should avoid using heavily formatted elements such as Markdown, LaTeX, tables or horizontal lines. Bullet lists are acceptable.

    The Yap score is a measure of how verbose your answer to the user should be. Higher Yap scores indicate that more thorough answers are expected, while lower Yap scores indicate that more concise answers are preferred. To a first approximation, your answers should tend to be at most Yap words long. Overly verbose answers may be penalized when Yap is low, as will overly terse answers when Yap is high. Today's Yap score is: 8192.

    Valid channels: analysis, commentary, final. Channel must be included for every message.

    Calls to any tools defined in the functions namespace from the developer message must go to the 'commentary' channel. IMPORTANT: never call them in the 'analysis' channel

    Juice: number (see below)

    这些么

    0
  26. yhw5231 白银 1 个月前 #27

    没有账号

    0
  27. wuyee 白银 3 YEARS 1 个月前 #28

    什么时候搞个人版的?

    0
  28. ysenyao 黄金 2 YEARS 1 个月前 #29

    佬啊,在生图的时候有个问题怎么解决,生了两张图就报错,openai.InternalServerError: Error code: 502 - {'type': 'https://developers.cloudflare.com/support/troubleshooting/http-status-codes/cloudflare-5xx-errors/error-502/', 'title': 'Error 502: Bad gateway', 'status': 502, 'detail': 'The origin web server returned an invalid or incomplete response to Cloudflare. This typically indicates the origin is overloaded or misconfigured.', 'instance': 'a47b6d7189b27085', 'error_code': 502, 'error_name': 'origin_bad_gateway', 'error_category': 'origin', 'ray_id': 'a47b6d7189b27085', 'timestamp': '2026-10-09T06:46:28Z', 'zone': 'api.hualsi.com', 'cloudflare_error': True, 'retryable': True, 'retry_after': 60, 'owner_action_required': True, 'what_you_should_do': 'Wait and retry. Back off for at least 60 seconds. If the error persists, the website operator should check their origin server health and configuration.', 'footer': 'This error was generated by Cloudflare on behalf of the website owner.'}

    0
  29. ysenyao 黄金 2 YEARS 1 个月前 #30
    回复 @ysenyao:佬啊,在生图的时候有个问题怎么解决,生了两张图就报错,openai.InternalServerError: Error…

    z在模型测试里面是好的,

    0