fix(generation-node): AI message generator returns raw message instead of LLM json output

Merged Phạm Thúc Trường Sơn requested to merge fix/message-generator into main
  • Introduced _content_to_text function to normalize LLM response content into plain text.
  • Added _parse_message_payload function for better extraction of message fields from LLM responses, including fallback mechanisms for malformed JSON.
  • Updated generation_node to utilize the new parsing functions, improving the handling of email and LinkedIn message content.

Merge request reports