zed/crates/language_model
Marshall Bowers 8901d926eb
anthropic: Use separate Content type in requests and responses (#17163)
This PR splits the `Content` type for Anthropic into two new types:
`RequestContent` and `ResponseContent`.

As I was going through the Anthropic API docs it seems that there are
different types of content that can be sent in requests vs what can be
returned in responses.

Using a separate type for each case tells the story a bit better and
makes it easier to understand, IMO.

Release Notes:

- N/A
2024-08-30 11:46:03 -04:00
..
src anthropic: Use separate Content type in requests and responses (#17163) 2024-08-30 11:46:03 -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