Skip to content

daily-model-inventory: log raw responses in collect steps, drop copilot-api job - #48636

Merged
pelikhan merged 1 commit into
mainfrom
copilot/add-logging-to-collect-steps
Jul 28, 2026
Merged

daily-model-inventory: log raw responses in collect steps, drop copilot-api job#48636
pelikhan merged 1 commit into
mainfrom
copilot/add-logging-to-collect-steps

Conversation

CopilotAI commented Jul 28, 2026

Copy link
Copy Markdown
Contributor

Raw model API responses were not visible in action logs, requiring artifact downloads to inspect them. The collect_copilot_api_models job is redundant now that the SDK covers Copilot model data.

Changes

  • Log raw response in each collect step — adds a Log raw response / Log models step (if: always()) after each fetch step so the downloaded content appears directly in job logs:

    JobLogged file
    collect_openai_modelsopenai/raw.json
    collect_anthropic_modelsanthropic/raw.json
    collect_gemini_modelsgemini/raw.json
    collect_copilot_billing_modelscopilot-billing/models.json
    collect_copilot_sdk_modelscopilot-sdk/models.json
    - name: Log raw responseif: always()shell: bashrun: cat /tmp/gh-aw/agent/model-inventory/openai/raw.json 2>/dev/null || echo "(no raw.json)"
  • Remove collect_copilot_api_models — drops the job, its artifact upload, and all agent-prompt references (copilot-api-models input bullet, validation source item 3, summary table row). Copilot SDK data (billing fields) is the primary source; the raw API endpoint is no longer needed.

…_models job
Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
CopilotAI changed the title Add raw response logging to collect steps; remove collect_copilot_api_models jobdaily-model-inventory: log raw responses in collect steps, drop copilot-api jobJul 28, 2026
@pelikhan
pelikhan marked this pull request as ready for review July 28, 2026 13:57
CopilotAI review requested due to automatic review settings July 28, 2026 13:57
CopilotAI requested a review from pelikhanJuly 28, 2026 13:57
@pelikhan
pelikhan merged commit 6c76795 into mainJul 28, 2026
@pelikhan
pelikhan deleted the copilot/add-logging-to-collect-steps branch July 28, 2026 13:57

CopilotAI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Logs model inventories directly in workflow logs and removes the redundant Copilot API collector.

Changes:

  • Logs provider and Copilot SDK model responses.
  • Removes the Copilot API job and related prompt references.
  • Regenerates the compiled workflow.
Show a summary per file
FileDescription
.github/workflows/daily-model-inventory.mdUpdates collection jobs and analysis instructions.
.github/workflows/daily-model-inventory.lock.ymlReflects the recompiled workflow.

Review details

Tip

Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

  • Files reviewed: 2/2 changed files
  • Comments generated: 0
  • Review effort level: Medium

@github-actions

Copy link
Copy Markdown
Contributor

🎉 This pull request is included in a new release.

Release: v0.83.5

Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants

@pelikhan