positron icon indicating copy to clipboard operation
positron copied to clipboard

Assistant: `getPlot` tool not working with GitHub Copilot models

Open jonvanausdeln opened this issue 1 month ago • 1 comments

System details:

Positron and OS details:

Positron Version: 2025.12.0 (user setup) build 114 Code - OSS Version: 1.106.0 Commit: d49b1e96dfbb289f3982c5f861b75e442a1484dc Date: 2025-11-21T07:35:34.718Z Electron: 37.7.0 Chromium: 138.0.7204.251 Node.js: 22.20.0 V8: 13.8.258.32-electron.0 OS: Windows_NT x64 10.0.26200

Session details:

Github Copilot: Any model (claude, gpt)

Describe the issue:

Github Copilot model provider models can't use the getPlot tool any longer. I tried in all 3 modes (Ask/Edit/Agent)

This seems to have happened with the 1.106 upstream merge

Models from the Anthropic provider do work

Some examples:

GHCopilot -> Claude 4 Sonnet

Image

Steps to reproduce the issue:

  1. create a plot
  2. Ask assistant about the plot

Expected or desired behavior:

It uses getPlot tool to see the plot and tell me about it.

Were there any error messages in the UI, Output panel, or Developer Tools console?

jonvanausdeln avatar Nov 21 '25 20:11 jonvanausdeln

I've split out the OpenAI part of this as I have a fix in flight. OpenAI-specific issue: https://github.com/posit-dev/positron/issues/10759

sharon-wang avatar Nov 24 '25 21:11 sharon-wang