Skip to content

[pull] main from microsoft:main#1289

Merged
pull[bot] merged 3 commits into
code:mainfrom
microsoft:main
May 23, 2026
Merged

[pull] main from microsoft:main#1289
pull[bot] merged 3 commits into
code:mainfrom
microsoft:main

Conversation

@pull
Copy link
Copy Markdown

@pull pull Bot commented May 23, 2026

See Commits and Changes for more details.


Created by pull[bot] (v2.0.0-alpha.4)

Can you help keep this open source service alive? 💖 Please sponsor : )

dmitrivMS and others added 3 commits May 23, 2026 10:30
…#318092)

* Fix BYOK regression for non-OAuth Copilot token pathways

Introduce hasCopilotTokenSource on IAuthenticationService, defaulted to !!anyGitHubSession in BaseAuthenticationService and overridden to true in StaticGitHubAuthenticationService (proxy/HMAC, eval harness).

Replace PR-introduced anyGitHubSession guards added in #317428 at sites that gate on 'can we mint a Copilot token?' so the eval proxy pathway is no longer short-circuited:

- languageModelAccess._getToken

- authentication.contribution.waitForChatEnabled

- copilotCli (3 sites)

- remoteEmbeddingsComputer

Group-B sites that intentionally gate on a real signed-in GitHub user (conversationFeature search/intent provider registration, byokUtilityModel notification) keep using anyGitHubSession.

* PR feedback: clarify log message; fall back to empty embeddings in proxy scenarios

- Update languageModelAccess log to say 'Copilot token source' (matches the new gate).

- In remoteEmbeddingsComputer, return empty embeddings instead of throwing when the Dotcom path lacks a GitHub access token (proxy/HMAC eval harness), matching the rest of the function's empty-fallback behavior.
The sidebar in the Agents app sometimes showed "Created 0 todos" or
similar misleading text under a session title. This came from the
`manage_todo_list` tool's `pastTenseMessage` being surfaced via
`getInProgressSessionDescription` even though the tool invocation was
already marked as `ToolInvocationPresentation.Hidden` (so it wasn't
shown in the chat view at all).

- `getInProgressSessionDescription`: skip tool invocations that are
  effectively hidden, so the sidebar falls through to the previous
  meaningful part instead of leaking text from a hidden tool call.

- `manageTodoListTool.generatePastTenseMessage`: don't generate
  "Created 0 todos" for a no-op write (no current and no new todos);
  fall through to the default "Updated todo list" message.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
When tool search is active, built-in tools were being collapsed into virtual groups that tool search never surfaces, making non-deferred tools (e.g. askQuestions) uncallable. Detect tool_search from the full tool list and skip built-in grouping in that case. Fixes #316779.
@pull pull Bot locked and limited conversation to collaborators May 23, 2026
@pull pull Bot added the ⤵️ pull label May 23, 2026
@pull pull Bot merged commit 8e2b261 into code:main May 23, 2026
1 check passed
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants