mirror of
https://github.com/zed-industries/zed.git
synced 2025-01-11 13:10:54 +00:00
a64e20ed96
This PR restructures the way that tools and attachments add information about the current project to a conversation with the assistant. Rather than each tool call or attachment generating a new tool or system message containing information about the project, they can all collectively mutate a new type called a `ProjectContext`, which stores all of the project data that should be sent to the assistant. That data is then formatted in a single place, and passed to the assistant in one system message. This prevents multiple tools/attachments from including redundant context. Release Notes: - N/A --------- Co-authored-by: Kyle <kylek@zed.dev> |
||
---|---|---|
.. | ||
attachments | ||
tools | ||
ui | ||
assistant2.rs | ||
assistant_settings.rs | ||
attachments.rs | ||
completion_provider.rs | ||
tools.rs | ||
ui.rs |