Describe the bug
Using the new FunctionChoiceBehavior.Auto() class for my execution_settings with GPT-4o. Works great! However, an instance of ChatHistory.serialize() method raises an exception semantic_kernel.exceptions.content_exceptions.ContentSerializationError: Unable to serialize ChatHistory to JSON: Error serializing to JSON: TypeError: 'MockValSer' object cannot be converted to 'SchemaSerializer'
Parsing through each message in the ChatHistory, it looks like it can't serialize any message that relates to calling a Function. Example message extracted from the Debugger:
Describe the bug Using the new FunctionChoiceBehavior.Auto() class for my execution_settings with GPT-4o. Works great! However, an instance of ChatHistory.serialize() method raises an exception
semantic_kernel.exceptions.content_exceptions.ContentSerializationError: Unable to serialize ChatHistory to JSON: Error serializing to JSON: TypeError: 'MockValSer' object cannot be converted to 'SchemaSerializer'
Parsing through each message in the ChatHistory, it looks like it can't serialize any message that relates to calling a Function. Example message extracted from the Debugger:
To Reproduce Steps to reproduce the behavior:
Expected behavior Standard JSON should be returned by the serialize() method
Screenshots N/A
Platform
Additional context Possibly related to Issue #7340