Skip to content

Conversation

Copy link
Contributor

Copilot AI commented Jan 18, 2026

The daily regulatory workflow run #21116926374 failed because the agent called list_discussions without the required owner parameter. This is not transient - it's a prompt engineering issue where the LLM sometimes fails to infer required parameters.

Error observed:

{"params":{"arguments":{},"name":"list_discussions"}}
// Response: "missing required parameter: owner"

Successful run used:

{"params":{"arguments":{"first":100,"owner":"githubnext","repo":"gh-aw"},"name":"list_discussions"}}

Changes

  • Updated daily-regulatory.md to explicitly document required parameters for list_discussions
  • Added example tool call with correct parameters
  • Added prominent warning about required owner parameter
  • Removed unused shared/github-queries-safe-input.md import (now using GitHub MCP directly)

Example prompt guidance added

list_discussions with owner: "githubnext", repo: "gh-aw", perPage: 100, orderBy: "UPDATED_AT", direction: "DESC"

IMPORTANT: The owner parameter is REQUIRED. Without it, the tool will fail with "missing required parameter: owner".

Original prompt

debug this workflow and figure out if it's transient failure: #10609

Custom agent used: agentic-workflows
GitHub Agentic Workflows (gh-aw) - Create, debug, and upgrade AI-powered workflows with intelligent prompt routing


💬 We'd love your input! Share your thoughts on Copilot coding agent in our 2 minute survey.

Copilot AI and others added 2 commits January 18, 2026 20:48
Co-authored-by: Mossaka <5447827+Mossaka@users.noreply.github.com>
The agent was calling list_discussions without the required owner
parameter. Updated the prompt to explicitly document all required
parameters and provide an example tool call with correct parameters.

Co-authored-by: Mossaka <5447827+Mossaka@users.noreply.github.com>
Copilot AI changed the title [WIP] Debug workflow to identify transient failure Fix daily regulatory workflow missing parameter issue Jan 18, 2026
Copilot AI requested a review from Mossaka January 18, 2026 21:04
@Mossaka Mossaka closed this Jan 18, 2026
Sign up for free to 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.

2 participants