[workshop-sync] workshop/26-manage-costs-and-budgets.md: max-daily-ai-credits default described incorrectly

已关闭 适合新手
#5,283 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

维护者通常 3 天内回复

还没有人认领这个 Issue。

评估

难度
1/5
预计耗时
1 小时以内
新手友好度
90/100
Issue 类型
文档
描述清晰度
描述清楚
活跃度
活跃
技术栈
github-actions
领域
documentation

调研方向

错误的句子位于 workshop/26-manage-costs-and-budgets.md 中,即关于 max-daily-ai-credits 字段默认阈值的那一段。请查看 issue 中引用的 gh-aw 语法参考(max-daily-ai-credits 条目,v1.0.1),确认该防护默认是关闭的。然后将该段替换为建议的措辞,说明默认值为关闭,并解释如何启用或设置为 -1。当该段与参考一致且不再提及系统默认阈值时,即为完成。

由索引模型根据 Issue 内容生成。

描述

documentation

Workshop file reviewed

workshop/26-manage-costs-and-budgets.md

Problem

The file says:

A system default threshold applies when this field is omitted; set to -1 to disable the guardrail, or provide an explicit integer value to override the default.

Current correct behaviour

The gh-aw reference (syntax-agentic.md, max-daily-ai-credits: entry, v1.0.1) states the guardrail is disabled by default. No system default threshold applies when the field is omitted; it is enabled only by setting an explicit threshold (integer or K/M short-form string). -1 also explicitly disables it.

Suggested fix

Replace with: "The guardrail is disabled by default; omit the field to leave it off, or set an explicit threshold (integer or K/M short-form string) to enable it. -1 also explicitly disables it."

Generated by 🔍 Workshop Sync Check · copilot · auto · ~52 AIC · ⌖ ~1 AIC · ⊞ 4.7K · ◷

  • expires on Nov 3, 2026, 8:06 PM UTC
主要语言
JavaScript
星标
58
派生
40
平均合并
4 天 4 小时
30 天内合并 PR
8

环境准备

在 Codespaces 中打开

在浏览器里用你自己的 GitHub 账号启动这个项目的开发容器。

  • 没有 Dockerfile 或 Docker Compose 文件
  • 没有 Pull Request 模板
  • 没有贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

githubnext/gh-aw-workshop 的其他 Issue

查看 githubnext/gh-aw-workshop 的全部 Issue

相似的 Issue

更多 JavaScript Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。