frankaging commited on
Commit
3cb38a4
·
1 Parent(s): 60cfe00
Files changed (1) hide show
  1. app.py +3 -0
app.py CHANGED
@@ -89,6 +89,9 @@ def generate(
89
  subspaces_list: list[dict],
90
  max_new_tokens: int=DEFAULT_MAX_NEW_TOKENS,
91
  ) -> Iterator[str]:
 
 
 
92
  # limit to last 3 turns
93
  start_idx = max(0, len(chat_history) - 3)
94
  recent_history = chat_history[start_idx:]
 
89
  subspaces_list: list[dict],
90
  max_new_tokens: int=DEFAULT_MAX_NEW_TOKENS,
91
  ) -> Iterator[str]:
92
+
93
+ print(chat_history)
94
+
95
  # limit to last 3 turns
96
  start_idx = max(0, len(chat_history) - 3)
97
  recent_history = chat_history[start_idx:]