hjy-2004
hjy-2004
### Description / 描述 _No response_ ### Use Case / 使用场景 _No response_ ### Willing to Submit PR? / 是否愿意提交PR? - [ ] Yes, I am willing to submit a...
### 功能描述 能否新增一个opencode go的提供商 ### 使用场景 _No response_ ### 检查清单 - [x] 我已在 [Issue 列表](https://github.com/AstrBotDevs/AstrBot/issues)中搜索过相关功能,确认该功能想法从未被提出过。 - [x] 我建议的功能与 AstrBot 本体相关,而非在建议某一插件的功能。 - [x] 我已阅读并同意本项目的[贡献者行为准则](https://github.com/AstrBotDevs/AstrBot/blob/master/CODE_OF_CONDUCT.md)。 - [ ] (可选)我愿意提交 PR 以帮助实现该功能。
### 问题描述 Error code: 400 - {'type': 'error', 'error': {'type': 'MissingSessionID', 'message': 'Error from provider (Console Go): Request is missing x-opencode-session and cannot be routed efficiently. Please see https://opencode.ai/docs/go/#where-can-i-use-it'}} ###...
fluwx 的 WeChatAuthResponse 目前只返回 code、state、type、country、lang,缺少 openid(以及可选的 unionid)。 这导致开发者必须自己在客户端调微信 REST API /sns/oauth2/access_token + /sns/userinfo 来获取用户信息,但 /sns/userinfo 已在 2021 年被微信废弃,返回的 nickname 是加密占位符,无法获取真实昵称。 而微信原生 SDK (SendAuth.Resp) 在较新版本中已经能直接返回 openid。如果 fluwx 能把这个字段透传出来,至少可以省掉一次 code 交换的 HTTP...