mirror of
https://github.com/openai/gpt-oss.git
synced 2025-08-06 00:55:46 +03:00
docs: Fix another extra "= messages" (#7)
Fix another extra "= messages" in README
This commit is contained in:
committed by
GitHub
parent
3e3c828598
commit
1e47b70436
@@ -446,7 +446,7 @@ token_ids = encoding.render_conversation_for_completion(conversation, Role.ASSIS
|
||||
# ...
|
||||
|
||||
# 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]
|
||||
if last_message.recipient == "python":
|
||||
# perform python call
|
||||
|
||||
Reference in New Issue
Block a user