Factor tool definitions out of `assistant` (#21189)
This PR factors the tool definitions out of the `assistant` crate so that they can be shared between `assistant` and `assistant2`. `ToolWorkingSet` now lives in `assistant_tool`. The tool definitions themselves live in `assistant_tools`, with the exception of the `ContextServerTool`, which has been moved to the `context_server` crate. As part of this refactoring I needed to extract the `ContextServerSettings` to a separate `context_server_settings` crate so that the `extension_host`—which is referenced by the `remote_server`—can name the `ContextServerSettings` type without pulling in some undesired dependencies. Release Notes: - N/A
M
Marshall Bowers committed
3901d4610115989d1b7e4d5c637a297da8219809
Parent: 321fd19
Committed by GitHub <noreply@github.com>
on 11/25/2024, 11:26:34 PM