📄 中文摘要
Claude Code 在每日的循环窗口中提供 5 小时的令牌预算,该窗口在用户发送第一条消息时开始。如果用户在早上 8:30 提问并在 11:00 前用完预算,将被锁定至 13:00,导致白天无法使用。为了解决这一问题,开发者使用 GitHub Action 创建了一个简单的解决方案,通过定时发送“你好”的消息到 Claude Haiku,从而将 5 小时的窗口与用户选择的时间绑定,而不是实际打开 Claude 的时间。这种方法有效避免了用户在工作日的时间浪费。
📄 English Summary
วิธีแก้ปัญหา Claude Code Limit หมดไว ใช้ได้ไม่พอทุกวัน
Claude Code provides a token budget of 5 hours in a rolling window that starts when the user sends the first message of the day. If a user asks a question at 8:30 AM and exhausts the budget by 11:00 AM, they will be locked out until 1:00 PM, resulting in wasted time during the day. To address this issue, developers have created a simple solution using GitHub Action to send a 'Hello' message to Claude Haiku at a scheduled time before the workday begins. This message effectively ties the 5-hour window to the chosen time instead of the actual time Claude is opened, preventing users from losing valuable time during their workday.
Powered by Cloudflare Workers + Payload CMS + Claude 3.5
数据源: OpenAI, Google AI, DeepMind, AWS ML Blog, HuggingFace 等