microsoft / microsoft/wiqd

[Bug]: Declarative agent switches back to model "Auto", even after explicit model change

Open
#30 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

platform
Dominant language
PowerShell
Stars
22
Forks
4
Avg merge
6h 20m
Merged PRs (30d)
4

Description

What happened?

A declarative agent running in M365 Copilot directly switches back to model "Auto", even though a reasoning model was explicitly selected:

Image

This is not an issue for the vanilla M365 Copilot agent, I have only been able to reproduce it for custom declarative agents.

Steps to reproduce

No response

Environment
  • wiqd version:
  • OS:
  • Node.js version:
  • gh CLI version:
  • Shell/Terminal:
Additional context

Logged in this repo, after discussion with Sébastien Levert (@sebastienlevert).

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the behavior in M365 Copilot with a custom declarative agent, comparing it with the vanilla M365 Copilot agent where the issue does not occur. The issue is done when an explicitly selected reasoning model remains selected instead of switching back to Auto.

Written by the indexing model from the issue text.

Assessment

Domain
ai
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Active
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.