mirror of
https://github.com/wassname/Open-Assistant.git
synced 2026-10-29 12:40:08 +08:00
1 parent
cf4a62a984
commit
d183c343a9
1 file changed
+4
-4
@@ -62,7 +62,7 @@ def generate_task(
|
||||
text=msg.text,
|
||||
is_assistant=(msg.role == "assistant"),
|
||||
message_id=msg.id,
|
||||
front_end_id=msg.front_end_id,
|
||||
front_end_id=msg.frontend_message_id,
|
||||
)
|
||||
for msg in messages
|
||||
]
|
||||
@@ -78,7 +78,7 @@ def generate_task(
|
||||
text=msg.text,
|
||||
is_assistant=(msg.role == "assistant"),
|
||||
message_id=msg.id,
|
||||
front_end_id=msg.front_end_id,
|
||||
front_end_id=msg.frontend_message_id,
|
||||
)
|
||||
for msg in messages
|
||||
]
|
||||
@@ -100,7 +100,7 @@ def generate_task(
|
||||
text=p.text,
|
||||
is_assistant=(p.role == "assistant"),
|
||||
message_id=p.id,
|
||||
front_end_id=p.front_end_id,
|
||||
front_end_id=p.frontend_message_id,
|
||||
)
|
||||
for p in conversation
|
||||
]
|
||||
@@ -121,7 +121,7 @@ def generate_task(
|
||||
text=p.text,
|
||||
is_assistant=(p.role == "assistant"),
|
||||
message_id=p.id,
|
||||
front_end_id=p.front_end_id,
|
||||
front_end_id=p.frontend_message_id,
|
||||
)
|
||||
for p in conversation
|
||||
]
|
||||
|
||||
Reference in new issue
Block a user