docs: Fix extra "= messages" (#3)
This commit is contained in:
@@ -374,7 +374,7 @@ token_ids = encoding.render_conversation_for_completion(conversation, Role.ASSIS
|
|||||||
# ...
|
# ...
|
||||||
|
|
||||||
# parse the output
|
# parse the output
|
||||||
messages = messages = encoding.parse_messages_from_completion_tokens(output_tokens, Role.ASSISTANT)
|
messages = encoding.parse_messages_from_completion_tokens(output_tokens, Role.ASSISTANT)
|
||||||
last_message = messages[-1]
|
last_message = messages[-1]
|
||||||
if last_message.recipient.startswith("browser"):
|
if last_message.recipient.startswith("browser"):
|
||||||
# perform browser call
|
# perform browser call
|
||||||
|
|||||||
Reference in New Issue
Block a user