zed/crates/language_model
Cole Miller ee6f834028
Fuse LLM completion stream to avoid a panic (#21914)
`LanguageModel::stream_completion_text` can poll the `stream_completion`
stream (ultimately a `futures::Unfold`) after it's returned
`Ready(None)`, which leads to a panic; avoid this by fusing the stream.

Release Notes:

- Fixed a panic when streaming language model completions
2024-12-12 11:39:35 -05:00
..
src Fuse LLM completion stream to avoid a panic (#21914) 2024-12-12 11:39:35 -05:00
Cargo.toml Add language_models crate to house language model providers (#20945) 2024-11-20 18:49:34 -05:00
LICENSE-GPL Extract completion provider crate (#14823) 2024-07-19 13:35:34 -04:00