mirror of
https://github.com/MindWorkAI/AI-Studio.git
synced 2026-02-13 06:01:37 +00:00
Use ToList to ensure proper materialization of LINQ query results.
This commit is contained in:
parent
2ecc883cc8
commit
4fdad99652
@ -20,6 +20,6 @@ public static class ListContentBlockExtensions
|
||||
await Task.WhenAll(messages);
|
||||
|
||||
// Select all results:
|
||||
return (IList<TResult>)messages.Select(n => n.Result);
|
||||
return messages.Select(n => n.Result).ToList();
|
||||
}
|
||||
}
|
||||
Loading…
Reference in New Issue
Block a user