byte-vortex commited on
Commit
c7c39f9
·
verified ·
1 Parent(s): 585b0ea

Deploy Myco from CI

Browse files
Files changed (1) hide show
  1. game/engine.py +2 -2
game/engine.py CHANGED
@@ -839,11 +839,11 @@ def _study_hint(rarity):
839
 
840
 
841
  def _assistant_message(content):
842
- return {"role": "assistant", "content": content}
843
 
844
 
845
  def _append_assistant(history, content):
846
- return [*_safe_history(history), _assistant_message(content)]
847
 
848
 
849
  def _safe_collection(collection):
 
839
 
840
 
841
  def _assistant_message(content):
842
+ return (None, content)
843
 
844
 
845
  def _append_assistant(history, content):
846
+ return [*_safe_history(history), (None, content)]
847
 
848
 
849
  def _safe_collection(collection):