assistant: Use tool interface for scripts (#26377)

We decided to expose scripting as tools again. We are aware of the UX
downsides of doing so, but we want to focus on getting it working well
first, and the model seems to make better use of it as an actual tool.

In the future, the tools API might support streaming. If it doesn't and
we need to ship, we can consider reverting this.

Release Notes:

- N/A
This commit is contained in:
Agus Zubiaga 2025-03-10 13:59:31 -03:00 committed by GitHub
parent 3891381d3e
commit 2fc4dec58f
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
17 changed files with 163 additions and 652 deletions

View file

@ -98,6 +98,7 @@ remote.workspace = true
repl.workspace = true
reqwest_client.workspace = true
rope.workspace = true
scripting_tool.workspace = true
search.workspace = true
serde.workspace = true
serde_json.workspace = true