zed/crates/open_ai/src
Max Brunsfeld 4c390b82fb
Make LanguageModel::use_any_tool return a stream of chunks (#16262)
This PR is a refactor to pave the way for allowing the user to view and
edit workflow step resolutions. I've made tool calls work more like
normal streaming completions for all providers. The `use_any_tool`
method returns a stream of strings (which contain chunks of JSON). I've
also done some minor cleanup of language model providers in general,
removing the duplication around handling streaming responses.

Release Notes:

- N/A
2024-08-14 18:02:46 -07:00
..
open_ai.rs Make LanguageModel::use_any_tool return a stream of chunks (#16262) 2024-08-14 18:02:46 -07:00
supported_countries.rs Authorize access to language model providers based on country (#15859) 2024-08-06 11:49:04 -04:00