We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d8183fe commit 41c2e04Copy full SHA for 41c2e04
Radzen.Blazor/RadzenAIChat.razor.cs
@@ -395,7 +395,7 @@ protected override async Task OnParametersSetAsync()
395
await base.OnParametersSetAsync();
396
397
// Update session ID if it changed
398
- if (SessionId != currentSessionId)
+ if (!string.IsNullOrEmpty(SessionId) && SessionId != currentSessionId)
399
{
400
currentSessionId = SessionId ?? Guid.NewGuid().ToString();
401
await SessionIdChanged.InvokeAsync(currentSessionId);
0 commit comments