fix: correct syntax in conversation message formatting

This commit is contained in:
asha-ndf 2025-08-06 01:50:14 +09:00
parent 41a404a90b
commit d1224ed880

View file

@ -86,7 +86,7 @@ convo = Conversation.from_messages([
Message.from_role_and_content(
Role.DEVELOPER,
DeveloperContent.new().with_instructions("Talk like a pirate!")
)
),
Message.from_role_and_content(Role.USER, "Arrr, how be you?"),
])
tokens = enc.render_conversation_for_completion(convo, Role.ASSISTANT)