mirror of
https://github.com/MindWorkAI/AI-Studio.git
synced 2026-11-05 03:47:21 +00:00
Added thread-safe random class
This commit is contained in:
5 files changed
+93
-4
No files matched your search
@@ -25,7 +25,7 @@ public partial class Chat : MSGComponentBase, IAsyncDisposable
|
||||
public IJSRuntime JsRuntime { get; init; } = null!;
|
||||
|
||||
[Inject]
|
||||
public Random RNG { get; set; } = null!;
|
||||
private ThreadSafeRandom RNG { get; init; } = null!;
|
||||
|
||||
[Inject]
|
||||
public IDialogService DialogService { get; set; } = null!;
|
||||
|
||||
Reference in new issue
Block a user