Skip to content

Add model, custom_agent, and custom_instructions parameters to assign-to-agent (frontmatter configuration)#16386

Merged
pelikhan merged 11 commits intomainfrom
copilot/add-model-parameter-to-assign-to-agent
Feb 17, 2026
Merged

Add model, custom_agent, and custom_instructions parameters to assign-to-agent (frontmatter configuration)#16386
pelikhan merged 11 commits intomainfrom
copilot/add-model-parameter-to-assign-to-agent

Conversation

Copy link
Contributor

Copilot AI commented Feb 17, 2026

This PR adds support for specifying AI model selection, custom agent IDs, and custom instructions when using the assign-to-agent safe output to programmatically assign the GitHub Copilot coding agent to issues or pull requests. Previously, all assignments defaulted to "Auto" model selection (Claude Sonnet 4.5) with no ability to customize the agent's behavior.

Changes

Configuration Layer

  • Added DefaultModel, DefaultCustomAgent, DefaultCustomInstructions fields to AssignToAgentConfig (Go)
  • Extended frontmatter schema to validate model, custom-agent, custom-instructions in workflow YAML
  • Compiler generates corresponding environment variables (GH_AW_AGENT_DEFAULT_MODEL, etc.)

Runtime Layer

  • JavaScript implementation reads defaults from environment variables
  • GraphQL mutation dynamically builds agentAssignment object with only provided fields
  • Parameters apply uniformly to all agent assignments in the workflow

Testing

  • Added comprehensive test coverage for the new parameters in assign_agent_helpers.test.cjs
  • Tests verify GraphQL mutation construction with model, customAgent, and customInstructions
  • Tests verify parameter combinations and correct omission when parameters are null
  • All 32 tests pass successfully

Documentation

  • Added model selection guide with available options: auto, claude-sonnet-4.5, claude-opus-4.5, claude-opus-4.6, gpt-5.1-codex-max, gpt-5.2-codex
  • Documented workflow-level configuration (frontmatter only)

Design Decision

  • model, custom-agent, and custom-instructions are only configurable via frontmatter (workflow-level configuration)
  • These parameters are NOT available as per-item overrides in assign_to_agent tool calls
  • This ensures consistency across all agent assignments in a workflow

Usage

Frontmatter configuration (applies to all assignments in workflow):

safe-outputs:
  assign-to-agent:
    model: claude-opus-4.6              # AI model selection
    custom-agent: "agent-id"             # Optional custom agent ID
    custom-instructions: "Focus on..."   # Optional custom instructions

Tool usage (no per-item model override):

assign_to_agent(issue_number=123, agent="copilot")

The implementation is backward compatible—existing workflows continue with auto model selection.

Original prompt

This section details on the original issue you should resolve

<issue_title>Feature request: Add model parameter to assign-to-agent safe output</issue_title>
<issue_description>## Problem

When using the assign-to-agent safe output to programmatically assign the Copilot coding agent to an issue, there is no way to specify which model the coding agent should use. The assignment always defaults to "Auto" model selection, which currently only includes Claude Sonnet 4.5.

This makes automated workflows unable to control the model used by the coding agent, even though the GitHub UI allows manual model selection when assigning Copilot to an issue (Auto, Claude Sonnet 4.5, Claude Opus 4.5, Claude Opus 4.6, GPT-5.1-Codex-Max, GPT-5.2-Codex).

Current behavior

The assign-to-agent safe output only accepts issue_number (or pull_number) and agent parameters:

assign-to-agent:
  agent: copilot
  issue_number: 107

The coding agent always launches with "Auto" (= Claude Sonnet 4.5).

Desired behavior

Add an optional model parameter to assign-to-agent:

assign-to-agent:
  agent: copilot
  issue_number: 107
  model: claude-opus-4.6   # optional, defaults to "auto" if omitted

Alternatively, support a repository-level or workflow-level default model setting (e.g., a repo variable like GH_AW_COPILOT_AGENT_MODEL) that the assign-to-agent output would use.

Use case

I have an orchestrator workflow that scans issues, determines what needs work, and uses assign-to-agent to dispatch the Copilot coding agent. However, some tasks require a more capable model like Claude Opus 4.6, and every programmatic assignment launches with Sonnet 4.5 instead. This forces me to manually cancel and re-assign each task through the GitHub UI to select the right model, which defeats the purpose of automation.

Workaround

Currently the only workaround is to not use assign-to-agent and instead have the workflow post a comment notifying a human to manually assign the coding agent with the desired model through the GitHub UI.</issue_description>

Comments on the Issue (you are @copilot in this section)

@pelikhan Pointer to the docs or samples? @pelikhan /scout find graphql samples that assign to agent using a model parameter @pelikhan Add support for customAgent, customInstructions, model

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


💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.

Copilot AI and others added 3 commits February 17, 2026 16:14
…-to-agent

- Add DefaultModel, DefaultCustomAgent, DefaultCustomInstructions to AssignToAgentConfig
- Update compiler to pass new config values as environment variables
- Update JSON schema to include new parameters in assign_to_agent tool
- Update JavaScript implementation to read defaults and pass to GraphQL mutation
- Build agentAssignment object dynamically with only provided fields
- Update staged mode preview to show new parameters

Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
- Update main_workflow_schema.json to add new properties to assign-to-agent config
- Fix TypeScript error in assign_agent_helpers.cjs by using spread operator
- Add test workflow demonstrating model parameter usage
- Verify compiled workflow includes GH_AW_AGENT_DEFAULT_MODEL env var

Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
…ions parameters

- Update safe-outputs.md with detailed model selection documentation
- Add examples for using model parameter in assign_to_agent calls
- Update frontmatter-full.md with all new configuration options
- Document available AI models (auto, claude-sonnet-4.5, claude-opus-4.5, claude-opus-4.6, gpt-5.1-codex-max, gpt-5.2-codex)
- Explain custom-agent and custom-instructions parameters

Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
Copilot AI changed the title [WIP] Add model parameter to assign-to-agent safe output Add model, custom_agent, and custom_instructions parameters to assign-to-agent Feb 17, 2026
Copilot AI requested a review from pelikhan February 17, 2026 16:28
@pelikhan pelikhan marked this pull request as ready for review February 17, 2026 16:52
Copilot AI review requested due to automatic review settings February 17, 2026 16:52
@pelikhan
Copy link
Contributor

Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR adds support for specifying AI model selection and custom agent configuration when using the assign-to-agent safe output to programmatically assign the GitHub Copilot coding agent to issues or pull requests. Previously, all assignments defaulted to "Auto" model selection (Claude Sonnet 4.5) with no ability to customize the agent's behavior.

Changes:

  • Added model, custom-agent, and custom-instructions parameters to assign-to-agent configuration and runtime API
  • Extended schema validation and documentation to support the new parameters
  • Implemented dynamic GraphQL mutation construction to include agent-specific parameters only when provided

Reviewed changes

Copilot reviewed 9 out of 9 changed files in this pull request and generated 2 comments.

Show a summary per file
File Description
pkg/workflow/assign_to_agent.go Added DefaultModel, DefaultCustomAgent, and DefaultCustomInstructions fields to AssignToAgentConfig struct
pkg/workflow/compiler_safe_outputs_specialized.go Added environment variable generation for new default values (GH_AW_AGENT_DEFAULT_MODEL, etc.)
pkg/parser/schemas/main_workflow_schema.json Extended frontmatter schema with model, custom-agent, and custom-instructions properties
pkg/workflow/js/safe_outputs_tools.json Updated MCP tool schema to define new parameters with model examples and descriptions
actions/setup/js/assign_to_agent.cjs Added runtime logic to read default values from environment and pass per-item overrides to GraphQL mutation
actions/setup/js/assign_agent_helpers.cjs Implemented dynamic GraphQL mutation construction with conditional agentAssignment object
docs/src/content/docs/reference/safe-outputs.md Documented model selection options and custom agent configuration with usage examples
docs/src/content/docs/reference/frontmatter-full.md Added comprehensive documentation for new configuration fields in frontmatter reference
pkg/cli/workflows/test-assign-to-agent-with-model.md Created test workflow demonstrating model parameter usage with both default and per-item overrides

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

- Update .github/agents/agentic-workflows.agent.md to use blob/main instead of blob/v0.45.4-19-gd2bbd6247
- Recompile all workflows after merge from main
- Fixes validate-yaml CI check failure

Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
Copy link
Contributor Author

Copilot AI commented Feb 17, 2026

@copilot recompile, fix https://github.com/github/gh-aw/actions/runs/22107500010/job/63894314583?pr=16386, do a code review

Fixed CI failure and recompiled workflows in commit d8cd8c8. The issue was versioned URLs in .github/agents/agentic-workflows.agent.md that should reference the main branch. Code review completed with no issues found.

Warning

Firewall rules blocked me from connecting to one or more addresses (expand for details)

I tried to connect to the following addresses, but was blocked by firewall rules:

  • https://api.github.com/graphql
    • Triggering command: /usr/bin/gh /usr/bin/gh api graphql -f query=query($owner: String!, $name: String!) { repository(owner: $owner, name: $name) { hasDiscussionsEnabled } } -f owner=github -f name=gh-aw (http block)
    • Triggering command: /usr/bin/gh /usr/bin/gh api graphql -f query=query($owner: String!, $name: String!) { repository(owner: $owner, name: $name) { hasDiscussionsEnabled } } -f owner=github -f name=gh-aw ation (http block)
  • https://api.github.com/repos/actions/ai-inference/git/ref/tags/v2
    • Triggering command: /usr/bin/gh gh api /repos/actions/ai-inference/git/ref/tags/v2 --jq .object.sha (http block)
  • https://api.github.com/repos/actions/checkout/git/ref/tags/11bd71901bbe5b1630ceea73d27597364c9af683
    • Triggering command: /usr/bin/gh gh api /repos/actions/checkout/git/ref/tags/11bd71901bbe5b1630ceea73d27597364c9af683 --jq .object.sha (http block)
  • https://api.github.com/repos/actions/checkout/git/ref/tags/v6
    • Triggering command: /usr/bin/gh gh api /repos/actions/checkout/git/ref/tags/v6 --jq .object.sha (http block)
    • Triggering command: /usr/bin/gh gh api /repos/actions/checkout/git/ref/tags/v6 --jq .object.sha filepicker/filepicker.go filepicker/hidden_unix.go x_amd64/compile (http block)
    • Triggering command: /usr/bin/gh gh api /repos/actions/checkout/git/ref/tags/v6 --jq .object.sha viewport/keymap.go viewport/viewport.go x_amd64/compile ader (http block)
  • https://api.github.com/repos/actions/github-script/git/ref/tags/v7
    • Triggering command: /usr/bin/gh gh api /repos/actions/github-script/git/ref/tags/v7 --jq .object.sha (http block)
    • Triggering command: /usr/bin/gh gh api /repos/actions/github-script/git/ref/tags/v7 --jq .object.sha spinner/spinner.remote.origin.url (http block)
    • Triggering command: /usr/bin/gh gh api /repos/actions/github-script/git/ref/tags/v7 --jq .object.sha g.go (http block)
  • https://api.github.com/repos/actions/setup-go/git/ref/tags/4dc6199c7b1a012772edbd06daecab0f50c9053c
    • Triggering command: /usr/bin/gh gh api /repos/actions/setup-go/git/ref/tags/4dc6199c7b1a012772edbd06daecab0f50c9053c --jq .object.sha (http block)
  • https://api.github.com/repos/actions/setup-go/git/ref/tags/v5
    • Triggering command: /usr/bin/gh gh api /repos/actions/setup-go/git/ref/tags/v5 --jq .object.sha (http block)
  • https://api.github.com/repos/actions/setup-go/git/ref/tags/v6
    • Triggering command: /usr/bin/gh gh api /repos/actions/setup-go/git/ref/tags/v6 --jq .object.sha -c=4 -nolocalimports -importcfg /tmp/go-build1809744683/b336/importcfg -pack /home/REDACTED/go/pkg/mod/golang.org/x/crypto@v0.48.0/nacl/box/box.go (http block)
    • Triggering command: /usr/bin/gh gh api /repos/actions/setup-go/git/ref/tags/v6 --jq .object.sha -c=4 -nolocalimports -importcfg /tmp/go-build1809744683/b260/importcfg -embedcfg /tmp/go-build1809744683/b260/embedcfg -pack (http block)
    • Triggering command: /usr/bin/gh gh api /repos/actions/setup-go/git/ref/tags/v6 --jq .object.sha (http block)
  • https://api.github.com/repos/actions/setup-node/git/ref/tags/v6
    • Triggering command: /usr/bin/gh gh api /repos/actions/setup-node/git/ref/tags/v6 --jq .object.sha -c=4 -nolocalimports -importcfg /tmp/go-build1809744683/b340/importcfg -pack /home/REDACTED/go/pkg/mod/golang.org/x/crypto@v0.48.0/nacl/secretbox/secretbox.go (http block)
    • Triggering command: /usr/bin/gh gh api /repos/actions/setup-node/git/ref/tags/v6 --jq .object.sha -c=4 -nolocalimports -importcfg /tmp/go-build1809744683/b277/importcfg -pack /home/REDACTED/work/gh-aw/gh-aw/pkg/envutil/envutil.go (http block)
    • Triggering command: /usr/bin/gh gh api /repos/actions/setup-node/git/ref/tags/v6 --jq .object.sha -c=4 -nolocalimports -importcfg /tmp/go-build1809744683/b320/importcfg -embedcfg /tmp/go-build1809744683/b320/embedcfg -pack (http block)
  • https://api.github.com/repos/anchore/sbom-action/git/ref/tags/v0
    • Triggering command: /usr/bin/gh gh api /repos/anchore/sbom-action/git/ref/tags/v0 --jq .object.sha g/catmsg.go g/codec.go x_amd64/compile ader (http block)
    • Triggering command: /usr/bin/gh gh api /repos/anchore/sbom-action/git/ref/tags/v0 --jq .object.sha nal.go .go x_amd64/compile ader (http block)
    • Triggering command: /usr/bin/gh gh api /repos/anchore/sbom-action/git/ref/tags/v0 --jq .object.sha a/salsa20_amd64.remote.origin.url (http block)
  • https://api.github.com/repos/docker/build-push-action/git/ref/tags/v6
    • Triggering command: /usr/bin/gh gh api /repos/docker/build-push-action/git/ref/tags/v6 --jq .object.sha progress/progress.go (http block)
    • Triggering command: /usr/bin/gh gh api /repos/docker/build-push-action/git/ref/tags/v6 --jq .object.sha roup.go (http block)
    • Triggering command: /usr/bin/gh gh api /repos/docker/build-push-action/git/ref/tags/v6 --jq .object.sha (http block)
  • https://api.github.com/repos/docker/login-action/git/ref/tags/v3
    • Triggering command: /usr/bin/gh gh api /repos/docker/login-action/git/ref/tags/v3 --jq .object.sha s/panics.go s/try.go x_amd64/compile ader (http block)
    • Triggering command: /usr/bin/gh gh api /repos/docker/login-action/git/ref/tags/v3 --jq .object.sha (http block)
  • https://api.github.com/repos/docker/metadata-action/git/ref/tags/v5
    • Triggering command: /usr/bin/gh gh api /repos/docker/metadata-action/git/ref/tags/v5 --jq .object.sha /common.go /message.go r: $owner, name: $name) { hasDiscussionsEnabled } } (http block)
    • Triggering command: /usr/bin/gh gh api /repos/docker/metadata-action/git/ref/tags/v5 --jq .object.sha -dirty&#34; -o gh-aw ./cmd/gh-aw (http block)
  • https://api.github.com/repos/docker/setup-buildx-action/git/ref/tags/v3
    • Triggering command: /usr/bin/gh gh api /repos/docker/setup-buildx-action/git/ref/tags/v3 --jq .object.sha paginator/paginaremote.origin.url (http block)
    • Triggering command: /usr/bin/gh gh api /repos/docker/setup-buildx-action/git/ref/tags/v3 --jq .object.sha ssor.go p.go x_amd64/compile ader (http block)
    • Triggering command: /usr/bin/gh gh api /repos/docker/setup-buildx-action/git/ref/tags/v3 --jq .object.sha @v6.0.2/kind/kinremote.origin.url (http block)
  • https://api.github.com/repos/github/gh-aw/git/ref/tags/c4e091835c7a94dc7d3acb8ed3ae145afb4995f3
    • Triggering command: /usr/bin/gh gh api /repos/github/gh-aw/git/ref/tags/c4e091835c7a94dc7d3acb8ed3ae145afb4995f3 --jq .object.sha ultierror_go120.go (http block)
  • https://api.github.com/repos/githubnext/agentics/git/ref/tags/-
    • Triggering command: /usr/bin/gh gh api /repos/githubnext/agentics/git/ref/tags/- --jq .object.sha (http block)
  • https://api.github.com/user
    • Triggering command: /usr/bin/gh gh api user --jq .login -c=4 -nolocalimports -importcfg /tmp/go-build1809744683/b330/importcfg -pack /home/REDACTED/go/pkg/mod/github.com/sourcegraph/conc@v0.3.0/waitgroup.go (http block)
    • Triggering command: /usr/bin/gh gh api user --jq .login (http block)

If you need me to access, download, or install something from one of these locations, you can either:

Per feedback, model, custom_agent, and custom_instructions are only configurable
via frontmatter defaults, not as per-item parameters in assign_to_agent tool calls.

Changes:
- Remove model, custom_agent, custom_instructions from safe_outputs_tools.json schema
- Update assign_to_agent.cjs to only use defaults (no per-item overrides)
- Update staged preview to show frontmatter defaults
- Update documentation to clarify workflow-level configuration only
- Update test workflow to remove per-item override examples

Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
Copy link
Contributor Author

Copilot AI commented Feb 17, 2026

Just as a heads up, I was blocked by some firewall rules while working on your feedback. Expand below for details.

Warning

Firewall rules blocked me from connecting to one or more addresses (expand for details)

I tried to connect to the following addresses, but was blocked by firewall rules:

  • https://api.github.com/user
    • Triggering command: /usr/bin/gh gh api user --jq .login re (http block)

If you need me to access, download, or install something from one of these locations, you can either:

Copilot AI changed the title Add model, custom_agent, and custom_instructions parameters to assign-to-agent Add model, custom_agent, and custom_instructions parameters to assign-to-agent (frontmatter configuration) Feb 17, 2026
…s parameters

Added test cases for assignAgentToIssue to verify:
- GraphQL mutation includes model when provided
- GraphQL mutation includes customAgent when provided
- GraphQL mutation includes customInstructions when provided
- Multiple agentAssignment parameters work together
- agentAssignment omitted when no parameters provided
- Only provided fields are included in variables object

All 32 tests pass successfully.

Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
@pelikhan
Copy link
Contributor

@copilot the model, customAgent and customInstructions are only configurable from the frontmatter, not through input values to the tool.

Copy link
Contributor Author

Copilot AI commented Feb 17, 2026

@copilot the model, customAgent and customInstructions are only configurable from the frontmatter, not through input values to the tool.

This was already implemented in commit 02469af. The current implementation:

  • ✅ Removed model, custom_agent, custom_instructions from tool schema (safe_outputs_tools.json)
  • ✅ JavaScript code only uses frontmatter defaults (lines 213-215 in assign_to_agent.cjs)
  • ✅ No per-item overrides supported

The parameters are only configurable via frontmatter configuration as requested.

@pelikhan pelikhan merged commit 99cd395 into main Feb 17, 2026
107 of 109 checks passed
@pelikhan pelikhan deleted the copilot/add-model-parameter-to-assign-to-agent branch February 17, 2026 18:24
@nathanjnorris
Copy link

Hey @pelikhan perfect timing on releasing this feature! I was able to assign to custom cloud coding in another run, but when I specify a model in the frontmatter:

safe-outputs:
  assign-to-agent:
    name: "copilot"
    custom-agent: "alz-vending"
    model: "gpt-5.2-codex" # note: removing this line and just using the default works as expected
    target: "triggering"
    max: 1

I get a GraphQL error:

Run actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd
  with:
    github-token: ***
    script: const { setupGlobals } = require('/opt/gh-aw/actions/setup_globals.cjs');
  setupGlobals(core, github, context, exec, io);
  const { main } = require('/opt/gh-aw/actions/assign_to_agent.cjs');
  await main();
  
    debug: false
    user-agent: actions/github-script
    result-encoding: json
    retries: 0
    retry-exempt-status-codes: 400,401,403,404,422
  env:
    GH_AW_ENGINE_ID: copilot
    GH_AW_WORKFLOW_ID: alz-vending-dispatcher
    GH_AW_WORKFLOW_NAME: ALZ Vending Dispatcher
    GH_AW_AGENT_OUTPUT: /tmp/gh-aw/safeoutputs/agent_output.json
    GH_AW_AGENT_MAX_COUNT: 1
    GH_AW_AGENT_DEFAULT: copilot
    GH_AW_AGENT_DEFAULT_MODEL: gpt-5.2-codex
    GH_AW_AGENT_DEFAULT_CUSTOM_AGENT: alz-vending
    GH_AW_AGENT_TARGET: triggering
    GH_AW_TEMPORARY_ID_MAP: {}
Agent output content length: 86
Found 1 assign_to_agent item(s)
Default agent: copilot
Default model: gpt-5.2-codex
Default custom agent: alz-vending
Target configuration: triggering
Max count: 1
Looking for copilot coding agent...
Found copilot coding agent (ID: BOT_kgDOC9w8XQ)
Getting issue details...
issue ID: I_kwDORMl78M7rxF_P
Assigning copilot coding agent to issue #37...
Using model: gpt-5.2-codex
Using custom agent: alz-vending
Using built-in github object for mutation
Error: Raw GraphQL error details (for troubleshooting):
Error: {
Error:   "errors": [
Error:     {
Error:       "path": [
Error:         "mutation",
Error:         "replaceActorsForAssignable",
Error:         "input",
Error:         "agentAssignment",
Error:         "model"
Error:       ],
Error:       "extensions": {
Error:         "code": "argumentNotAccepted",
Error:         "name": "AgentAssignmentInput",
Error:         "typeName": "InputObject",
Error:         "argumentName": "model"
Error:       },
Error:       "locations": [
Error:         {
Error:           "line": 7,
Error:           "column": 13
Error:         }
Error:       ],
Error:       "message": "InputObject 'AgentAssignmentInput' doesn't accept argument 'model'"
Error:     },
Error:     {
Error:       "path": [
Error:         "mutation"
Error:       ],
Error:       "extensions": {
Error:         "code": "variableNotUsed",
Error:         "variableName": "model"
Error:       },
Error:       "locations": [
Error:         {
Error:           "line": 2,
Error:           "column": 7
Error:         }
Error:       ],
Error:       "message": "Variable $model is declared by anonymous mutation but not used"
Error:     }
Error:   ],
Error:   "response": {
Error:     "errors": [
Error:       {
Error:         "path": [
Error:           "mutation",
Error:           "replaceActorsForAssignable",
Error:           "input",
Error:           "agentAssignment",
Error:           "model"
Error:         ],
Error:         "extensions": {
Error:           "code": "argumentNotAccepted",
Error:           "name": "AgentAssignmentInput",
Error:           "typeName": "InputObject",
Error:           "argumentName": "model"
Error:         },
Error:         "locations": [
Error:           {
Error:             "line": 7,
Error:             "column": 13
Error:           }
Error:         ],
Error:         "message": "InputObject 'AgentAssignmentInput' doesn't accept argument 'model'"
Error:       },
Error:       {
Error:         "path": [
Error:           "mutation"
Error:         ],
Error:         "extensions": {
Error:           "code": "variableNotUsed",
Error:           "variableName": "model"
Error:         },
Error:         "locations": [
Error:           {
Error:             "line": 2,
Error:             "column": 7
Error:           }
Error:         ],
Error:         "message": "Variable $model is declared by anonymous mutation but not used"
Error:       }
Error:     ]
Error:   },
Error:   "compactMessages": [
Error:     "InputObject 'AgentAssignmentInput' doesn't accept argument 'model'",
Error:     "Variable $model is declared by anonymous mutation but not used"
Error:   ]
Error: }
Error: Failed to assign copilot: Request failed due to following response errors:
 - InputObject 'AgentAssignmentInput' doesn't accept argument 'model'
 - Variable $model is declared by anonymous mutation but not used
Error: Failed to assign agent "copilot" to issue #37: Failed to assign copilot via GraphQL
Warning: Failed to assign 1 agent(s) - errors will be reported in conclusion job

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Feature request: Add model parameter to assign-to-agent safe output

3 participants

Comments