Hacktoberfest 2026:维护者为十月标记出来的 issue,仍然开放、适合新手。 浏览 Hacktoberfest issue

[aw] Daily A/B Testing Advisor has no AI credits pricing for model (gpt-6.1-sol)

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

维护者通常 1 天内回复

还没有人认领这个 Issue。

评估

难度
2/5
预计耗时
1-3 小时
新手友好度
62/100
Issue 类型
缺陷
描述清晰度
描述清楚
活跃度
活跃
技术栈
github-actions, yaml

调研方向

首先阅读 .github/workflows/ab-testing-advisor.md 的 frontmatter,其中声明了 engine 和模型 gpt-6.1-sol,以及链接的 action URL 上失败的运行。然后查看 gh-aw 代码库中内置的定价表如何解析模型名称,以决定是添加 models.providers.<engine>.models 成本块、将别名映射到已知模型,还是切换到已有定价的模型。完成意味着工作流运行不再因 HTTP 400 拒绝推理,并且模型解析为真实定价。

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

描述

agentic-workflows
Workflow Failure

Workflow: Daily A/B Testing Advisor
Branch: main
Run: https://github.com/github/gh-aw/actions/runs/37200656095

[!WARNING]
Model has no AI credits pricing: The agent failed because model gpt-6.1-sol is not in the built-in pricing table and no default fallback pricing is configured. The AWF API proxy rejected every inference request with HTTP 400.

This is a configuration issue — retrying will not help. The model must have pricing before the workflow can run.

How to fix this

Option 1 — Add pricing in the workflow frontmatter:

models:
  providers:
    openai:
      models:
        'gpt-6.1-sol':
          cost:
            # Placeholder values — replace with actual pricing for this model
            input: "0e0"      # $0.00 per million input tokens
            output: "0e0"     # $0.00 per million output tokens
            cache_read: "0e0"  # $0.00 per million cache-read tokens
            cache_write: "0e0" # $0.00 per million cache-write tokens

Use the provider key matching your engine: github-copilot (Copilot), anthropic (Claude), openai (Codex), or google (Gemini). Only input and output are required; the rest default to zero (or output for reasoning).

Option 2 — Map the model to a known model using the models field:

If gpt-6.1-sol is an alias for a model already in the built-in pricing table, use the models frontmatter field to provide the mapping:

models:
  'gpt-6.1-sol':
    - claude-sonnet-4-5

Option 3 — Switch to a model already in the built-in pricing table:

Replace gpt-6.1-sol in the workflow frontmatter with a model name that the AWF pricing system recognizes (e.g. claude-sonnet-4-5, gpt-4.1, gemini-2.0-flash).

Action Required

Assign this issue to an agent to debug and fix the issue.

Debug with any coding agent

Use this prompt with any coding agent (GitHub Copilot, Claude, Gemini, etc.):

Debug the agentic workflow failure using https://raw.githubusercontent.com/github/gh-aw/main/debug.md

The failed workflow run is at https://github.com/github/gh-aw/actions/runs/37200656095
Manually invoke the agent

Debug this workflow failure using your favorite Agent CLI and the agentic-workflows prompt.

[!TIP]

Stop reporting this workflow as a failure

To stop a workflow from creating failure issues, set report-failure-as-issue: false in its frontmatter:

safe-outputs:
  report-failure-as-issue: false

Generated from Daily A/B Testing Advisor · ◷

  • expires on Oct 5, 2026, 12:06 AM UTC
主要语言
Go
星标
5.4k
派生
576
平均合并
8 小时 29 分钟
30 天内合并 PR
783

环境准备

在 Codespaces 中打开

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

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

从这里开始

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

github/gh-aw 的其他 Issue

查看 github/gh-aw 的全部 Issue

相似的 Issue

更多 Go Issue

把新 issue 发到你的邮箱

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