Skip to content

.Net Bug: OpenAIAssistantAgent LoggerFactory #10160

@StormHub

Description

@StormHub

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

Metadata

Metadata

Assignees

Labels

.NETIssue or Pull requests regarding .NET codeagentsbugSomething isn't workingexperimentalAssociated with an experimental feature

Type

Projects

Status

Sprint: Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions