assistant2: Fix broken merge (#27081)
This PR fixes a broken merge caused by https://github.com/zed-industries/zed/pull/26987 landing after https://github.com/zed-industries/zed/pull/26758. Release Notes: - N/A
This commit is contained in:
parent
e8a40085de
commit
394215599a
1 changed files with 1 additions and 1 deletions
|
@ -605,7 +605,7 @@ impl Thread {
|
|||
let task = cx.spawn(async move |thread, cx| {
|
||||
let stream = model.stream_completion(request, &cx);
|
||||
let initial_token_usage =
|
||||
thread.read_with(&cx, |thread, _cx| thread.cumulative_token_usage.clone());
|
||||
thread.read_with(cx, |thread, _cx| thread.cumulative_token_usage.clone());
|
||||
let stream_completion = async {
|
||||
let mut events = stream.await?;
|
||||
let mut stop_reason = StopReason::EndTurn;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue