Even though having text content in tool call message seems to be an unexpected feature, it's still better for AutoGen.Net to support it.
Solution:
Add a content property in ToolCallMessage
In Both OpenAIChatRequestMessageConnector.ProcessToolCallMessage and OpenAICHatRequestMessageConnector.PostProcessChatResponseMessage, update text content when creating ToolCallMessage
Describe the bug
The OpenAI model might return text content even for tool call
https://community.openai.com/t/simultaneous-text-response-and-tool-invocations-in-gpt-4-api/550631
Even though having text content in tool call message seems to be an unexpected feature, it's still better for AutoGen.Net to support it.
Solution:
ToolCallMessage
ToolCallMessage