zed/crates/language_model
Thorsten Ball 874fedd717
assistant panel: Fix panic when opening panel with zed.dev provider (#15538)
There was/is some race condition that gets triggered only with the
zed.dev provider when opening the provider that would cause a
double-borrow on workspace.

This PR fixes the issue by cloning the workspace weakly. Turns out we
can go very far with just the weak reference.

We're still a bit unsure why exactly the race condition happened, since
it's hard to reproduce, but we're working on configuration
view/management in #15490 anyway.

Release Notes:

- N/A

Co-authored-by: Bennet <bennet@zed.dev>
2024-07-31 16:57:24 +02:00
..
src assistant panel: Fix panic when opening panel with zed.dev provider (#15538) 2024-07-31 16:57:24 +02:00
Cargo.toml Allow customization of the model used for tool calling (#15479) 2024-07-30 16:18:53 +02:00
LICENSE-GPL Extract completion provider crate (#14823) 2024-07-19 13:35:34 -04:00