zed/crates/language_model
Marshall Bowers 68ea661711
assistant: Add foundation for receiving tool uses from Anthropic models (#17170)
This PR updates the Assistant with support for receiving tool uses from
Anthropic models and capturing them as text in the context editor.

This is just laying the foundation for tool use. We don't yet fulfill
the tool uses yet, or define any tools for the model to use.

Here's an example of what it looks like using the example `get_weather`
tool from the Anthropic docs:

<img width="644" alt="Screenshot 2024-08-30 at 1 51 13 PM"
src="https://github.com/user-attachments/assets/3614f953-0689-423c-8955-b146729ea638">

Release Notes:

- N/A
2024-08-30 14:05:55 -04:00
..
src assistant: Add foundation for receiving tool uses from Anthropic models (#17170) 2024-08-30 14:05:55 -04:00
Cargo.toml Copy/paste images into editors (Mac only) (#15782) 2024-08-13 13:18:25 -04:00
LICENSE-GPL Extract completion provider crate (#14823) 2024-07-19 13:35:34 -04:00