Skip to content

update assistant logic #11

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 5 commits into from
Aug 11, 2025

Conversation

S0rax
Copy link
Contributor

@S0rax S0rax commented Jul 24, 2025

No description provided.

Copy link
Contributor

@aleks-pro aleks-pro left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We should replace AssistantCreator with AssistantManager here

@S0rax S0rax requested a review from aleks-pro August 6, 2025 10:15

builder.Services.AddSingleton(chatClient);
builder.Services.AddSingleton(assistantCreator);
builder.Services.AddSingleton<AIAssistantManager>(sp => new(azureOpenAIClient, EnvSettings.DeploymentName, sp.GetRequiredService<ILogger<AIAssistantManager>>()));
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[minor] The approach with a separate variable for a separate assistantCreator/assistantManager looks more readable for me.

@S0rax S0rax merged commit 527371e into DevExpress-Examples:25.1.3+ Aug 11, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants