Skip to content

Examples and guides for using the OpenAI API

Update run-transformers.md (#2000)

weedge9bcd7310ec91
diff --git a/articles/gpt-oss/run-transformers.md b/articles/gpt-oss/run-transformers.md
index 313a9312..8149dc16 100644
--- a/articles/gpt-oss/run-transformers.md
+++ b/articles/gpt-oss/run-transformers.md
@@ -195,7 +195,7 @@ convo = Conversation.from_messages([
# Render prompt
prefill_ids = encoding.render_conversation_for_completion(convo, Role.ASSISTANT)
-stop_token_ids = encoding.stop_tokens_for_assistant_action()
+stop_token_ids = encoding.stop_tokens_for_assistant_actions()
# Load model
model_name = "openai/gpt-oss-20b"