ZIm/crates/agent_settings
Agus Zubiaga bb9e2b0403
Fix existing CompletionMode deserialization (#31790)
https://github.com/zed-industries/zed/pull/31668 renamed
`CompletionMode::Max` to `CompletionMode::Burn` which is a good change,
but this broke the deserialization for threads whose completion mode was
stored in LMDB. This adds a deserialization alias so that both values
work.

We could make a full new `SerializedThread` version which migrates this
value, but that seems overkill for this single change, we can batch that
with more changes later. Also, people in nightly already have some v1
threads with `burn` stored, so it wouldn't quite work for everybody.

Release Notes:

- N/A
2025-05-30 19:06:08 -03:00
..
src Fix existing CompletionMode deserialization (#31790) 2025-05-30 19:06:08 -03:00
Cargo.toml Rename assistant_settings to agent_settings (#31513) 2025-05-27 15:16:55 +00:00
LICENSE-GPL Rename assistant_settings to agent_settings (#31513) 2025-05-27 15:16:55 +00:00