-
Notifications
You must be signed in to change notification settings - Fork 12
Open
Description
System details:
Positron and OS details:
Positron Version: 2025.11.0 (system setup) build 83
Code - OSS Version: 1.104.0
Commit: d4e9554738999a8541e4a4e04f87f60762971354
Date: 2025-10-17T11:56:45.677Z
Electron: 37.3.1
Chromium: 138.0.7204.235
Node.js: 22.18.0
V8: 13.8.258.31-electron.0
OS: Windows_NT x64 10.0.26200
Session details:
Observed with both Claude and Bedrock by @cindyytong and @andrie
Describe the issue:
Information about the preferred language (Python) is attached to chat context but Shiny assistant still asks for the user to select between R and Python
Steps to reproduce the issue:
When a user has the following:
- Python file attached to context
- Python environment selected and attached to context
Opens Positron Assistant and makes the following query
@shiny is the app using shiny express or shiny core?
The user still gets prompted to select whether or not they want R or Python.
Expected or desired behavior:
When there is a clear language being used i.e. interpreter details or file type attached as content, the assistant should respect this
Were there any error messages in the UI, Output panel, or Developer Tools console?
We have the logs and can provide
Confirmed that the logs show that the .py file was attached as context
{"text":"\n<context>\nchat_app.py:\n```\
```
Error message
```
{\"message\":\"The value at toolConfig.tools.38.toolSpec.inputSchema.json.type must be one of the following: object.\"}","isRetryable":false,"data":{"message":"The value at toolConfig.tools.38.toolSpec.inputSchema.json.type must be one of the following: object."}}
```
<!--
- Open the Developer Tools console by running the `Developer: Toggle Developer Tools` command from the Command Palette
- Open the relevant Output Channel logs by utilizing this guide: https://positron.posit.co/troubleshooting.html
-->
Metadata
Metadata
Assignees
Labels
No labels