This code results in nothing being logged (for extra context, the code is using the Lombok @slf4j annotation):
@Action
public ConversationSummary conversationSummary(ConversationAndSubAgentResponse conversationAndSubAgentResponse) {
ConversationSummary conversationSummary =
RunSubagent.fromAnnotatedInstance(summariserAgent, ConversationSummary.class);
log.info("Conversation Summary: {}", conversationSummary);
return conversationSummary;
}
It seems to be because a SubAgent is being called. Is this by design?
Logging is working for other actions in the same class that do not call off to sub agents.