FFM

FFM

V2EX member #474647, joined on 2020-03-06 17:50:54 +08:00
Today's activity rank 6359
Per FFM's settings, the topics list is hidden
Deals info, including closed deals, is not hidden
FFM's recent replies
1 day ago
Replied to a topic by twk93 推广 Claude 账号被封风险检测工具
字体那个要怎么办?
1 day ago
Replied to a topic by hengxiangbianhua 程序员 claude 被封之后尝试国产替代
mimo-v2.5-pro 试试呢?
你要用 python 最终做什么?直接用 claude 去做就是了。
2 days ago
Replied to a topic by tab16360 分享发现 codex 又送一次重置机会 +4 了
我让 codex 自己优化了一下查询的提示词:

请使用本机 Codex 凭证查询 ChatGPT 的 rate-limit reset credits 。

要求:
1. 从 `~/.codex/auth.json` 读取 `tokens.access_token`
2. 请求接口:
`https://chatgpt.com/backend-api/wham/rate-limit-reset-credits`
3. 必须带 `Authorization: Bearer <access_token>` 和 `Accept: application/json`
4. 不要输出 access_token 、refresh_token 、cookie 、完整唯一 ID 或任何敏感原始内容
5. 只汇总这些字段:
- `available_count`
- 每个 credit 的 `status`
- `title`
- `granted_at`
- `expires_at`
6. `granted_at` / `expires_at` 若是 UTC ,转成本地时间后再展示,并保留原始精度
7. 如果接口返回 401 ,明确说明这是凭证失效、未带对 Authorization header ,或 header 格式不正确
8. 如果响应结构不是预期的,先看原始 JSON 结构,再只提取允许字段,不要猜字段名

输出格式:
- 先给 HTTP 状态码
- 再给 `available_count`
- 再给一个简洁表格或列表,逐条列出 credit
- 不要附带多余解释

如果你想让它更稳一点,我建议再加一句:

9. 若接口返回的是嵌套数组/对象,优先以原始 JSON 为准做字段映射,不要依赖记忆中的字段名
3 days ago
Replied to a topic by tab16360 分享发现 codex 又送一次重置机会 +4 了
只看到有次数,在哪里能看到过期日的?
剪贴板 99%都是临时内容,收集了干吗?你有收集癖吗?人脑也是有上下文限制的。
水平就是 codex 的水平,和其他成千上万的一样。能期待什么?
吃牛肉也补不了脑子的
中转站的 api 只能放虚拟机,然后不给内网权限
About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   2797 Online   Highest 6679   ·     Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 · 15ms · UTC 07:55 · PVG 15:55 · LAX 00:55 · JFK 03:55
♥ Do have faith in what you're doing.