feat(awel): New MessageConverter and more AWEL operators (#1039)

This commit is contained in:
Fangyin Cheng
2024-01-08 09:40:05 +08:00
committed by GitHub
parent 765fb181f6
commit e8861bd8fa
48 changed files with 2333 additions and 719 deletions

View File

@@ -56,6 +56,9 @@ def spark_generate_stream(
del messages[index]
break
# TODO: Support convert_to_compatible_format config
convert_to_compatible_format = params.get("convert_to_compatible_format", False)
history = []
# Add history conversation
for message in messages: