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
ChatCompletionAgent LoggerFactory property can be initialised explicitly
e.g
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