Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

[aw] Daily Code Metrics and Trend Tracking Agent failed

Đã đóng Phù hợp với người mới
#63,005 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 1 ngày

Chưa có ai nhận issue này.

Đánh giá

Độ khó
2/5
Thời gian dự kiến
1-3 giờ
Mức phù hợp với người mới
70/100
Loại issue
Lỗi
Độ rõ ràng
Đặc tả rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
github-actions
Lĩnh vực
ci-cd, devtools

Hướng nghiên cứu

Vấn đề là một lỗi cấu hình trong một workflow GitHub Actions. Tệp workflow nằm tại .github/workflows/daily-code-metrics.md. Lỗi cho biết một tên mô hình không hợp lệ cho engine Copilot. Kiểm tra cài đặt 'model' trong frontmatter của workflow và so sánh với tài liệu về các mô hình được hỗ trợ của GitHub Copilot. Việc sửa lỗi liên quan đến việc cập nhật mô hình thành một mô hình hợp lệ, chẳng hạn như 'gpt-4', trong frontmatter YAML. Xác minh bản sửa lỗi bằng cách kiểm tra lượt chạy workflow sau khi thay đổi.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

agentic-workflows
Workflow Failure

Workflow: Daily Code Metrics and Trend Tracking Agent
Branch: main
Run: https://github.com/github/gh-aw/actions/runs/35903479429

[!WARNING]
Invalid or Unsupported Model: The agent failed because the configured model name is invalid, unknown, or unavailable for this engine/account.

This is a configuration issue, not a transient error — retrying will not help.

How to fix this

Specify a valid model for the selected engine in the workflow frontmatter:

---
engine: copilot
model: gpt-5-mini
---

To find valid models, check your engine/provider documentation (for Copilot see supported models).

If the error text is No model available. Check policy enablement under GitHub Settings > Copilot, the model is not disabled in the workflow but by Copilot policy. Enable the model under GitHub Settings > Copilot > Policies for the org/repo, or pick a model that is already enabled. This can also be triggered by a subagent (task tool) dispatch requesting a model that the policy does not allow, even when the main agent's model is enabled.

[!WARNING]
Engine Failure: The copilot engine terminated unexpectedly.

Last agent output:

400 The requested model is not supported.
Changes    +0 -0
Duration   3s
Resume     copilot --resume=38eaa640-8b60-4a62-9e91-9f2d11553695
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/35903479429
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 Code Metrics and Trend Tracking Agent · ◷

  • expires on Sep 24, 2026, 6:40 AM UTC
Ngôn ngữ chính
Go
Star
5.4k
Fork
576
Merge trung bình
7 giờ 40 phút
Pull request đã merge (30 ngày)
806

Chuẩn bị môi trường

Mở trong Codespaces

Khởi chạy dev container của dự án ngay trên trình duyệt, bằng tài khoản GitHub của bạn.

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của github/gh-aw

Tất cả issue của github/gh-aw

Issue tương tự

Thêm issue về Go

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.