mohit-sarvam commited on
Commit
89ece3d
·
verified ·
1 Parent(s): f102061

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +2 -7
README.md CHANGED
@@ -113,15 +113,10 @@ else:
113
  print("reasoning content:", reasoning_content)
114
  print("content:", content)
115
 
116
- # For the next round, add the assistant's response and reasoning to the messages.
117
  messages.append(
118
- {"role": "assistant", "content": content, "reasoning_content": reasoning_content}
119
  )
120
-
121
- # Or add the whole output text as content, the splitting is taken care inside chat template
122
- # messages.append(
123
- # {"role": "assistant", "content": output_text}
124
- # )
125
  ```
126
 
127
  The above example also shows how to add assistant turns in the messages for multiturn conversation.
 
113
  print("reasoning content:", reasoning_content)
114
  print("content:", content)
115
 
116
+ # For the next round, add the models's response directly as assistant turn.
117
  messages.append(
118
+ {"role": "assistant", "content": output_text}
119
  )
 
 
 
 
 
120
  ```
121
 
122
  The above example also shows how to add assistant turns in the messages for multiturn conversation.