Skip to content
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

.Net: Bug: .Net OpenAIAssistantAgent LoggerFactory #10160

Open
StormHub opened this issue Jan 12, 2025 · 0 comments
Open

.Net: Bug: .Net OpenAIAssistantAgent LoggerFactory #10160

StormHub opened this issue Jan 12, 2025 · 0 comments
Assignees
Labels
agents bug Something isn't working experimental Associated with an experimental feature .NET Issue or Pull requests regarding .NET code

Comments

@StormHub
Copy link

ChatCompletionAgent LoggerFactory property can be initialised explicitly
e.g

        ChatCompletionAgent completionAgent =
            new()
            {
                // ...
                LoggerFactory = kernel.LoggerFactory
            };

For OpenAIAssistantAgent, it has to be created from various Create static methods where none support passing in LoggerFactory.
It is default to a dummy where no logging messages can be captured at the moment.

Platform
Language: C#
Source: Semantic Kernel version 1.33.0

@StormHub StormHub added the bug Something isn't working label Jan 12, 2025
@markwallace-microsoft markwallace-microsoft added .NET Issue or Pull requests regarding .NET code triage labels Jan 12, 2025
@github-actions github-actions bot changed the title Bug: .Net OpenAIAssistantAgent LoggerFactory .Net: Bug: .Net OpenAIAssistantAgent LoggerFactory Jan 12, 2025
@sphenry sphenry removed the triage label Jan 13, 2025
@crickman crickman moved this to Sprint: In Progress in Semantic Kernel Jan 13, 2025
@crickman crickman added experimental Associated with an experimental feature agents labels Jan 13, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
agents bug Something isn't working experimental Associated with an experimental feature .NET Issue or Pull requests regarding .NET code
Projects
Status: Sprint: In Progress
Development

No branches or pull requests

4 participants