Skip to content

Conversation

sharon-wang
Copy link
Member

@sharon-wang sharon-wang commented Jul 21, 2025

Summary

Release Notes

New Features

QA Notes

@:assistant

test cases

tool enabled when disabled when
inspectVariables session(s) exist and at least 1 variable is defined no sessions; or sessions exist but no variables defined
getPlot session(s) exist and there is a plot currently visible no sessions; or sessions exist but no plot visible
getTableSummary for now, only when Python session(s) exist (this tool is not yet implemented for R #8343) and at least 1 variable is defined for now, if no sessions or if only R sessions exist; or Python sessions exist but no variables defined

how to check

  • try to invoke the disabled tool via chat and notice that the tool cannot be called; or
  • check the Output pane for Assistant with log level Debug or Trace for the message with [tools] Available tools for participant
    • if the tool is not in the list, it is disabled/filtered out

@sharon-wang sharon-wang requested a review from jmcphers July 21, 2025 16:55
@sharon-wang sharon-wang changed the title Assistant/disable tools invalid contexts Assistant: disable tools in invalid contexts Jul 21, 2025
Copy link

github-actions bot commented Jul 21, 2025

E2E Tests 🚀
This PR will run tests tagged with: @:critical @:assistant

readme  valid tags

jmcphers
jmcphers previously approved these changes Jul 22, 2025
Copy link
Collaborator

@jmcphers jmcphers left a comment

Choose a reason for hiding this comment

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

LGTM

@sharon-wang sharon-wang force-pushed the assistant/disable-tools-invalid-contexts branch from 6af7fb0 to 3d316e5 Compare July 22, 2025 14:51
@sharon-wang
Copy link
Member Author

will merge once green 🟢

@sharon-wang sharon-wang merged commit 7ef9ffa into main Jul 22, 2025
11 checks passed
@sharon-wang sharon-wang deleted the assistant/disable-tools-invalid-contexts branch July 22, 2025 15:43
@github-actions github-actions bot locked and limited conversation to collaborators Jul 22, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants