pasha commited on
Commit
1d356c0
·
1 Parent(s): 037c554
Files changed (1) hide show
  1. chat_transformers.py +1 -1
chat_transformers.py CHANGED
@@ -65,7 +65,7 @@ def get_prompt(tokenizer, messages: List[Dict], add_generation_prompt: bool = Fa
65
 
66
 
67
  def chat(
68
- history_limit: int = 10,
69
  system_prompt: str | None = SYSTEM_PROMPT,
70
  max_new_tokens: int = 2048,
71
  repetition_penalty: float = 1.2,
 
65
 
66
 
67
  def chat(
68
+ history_limit: int = 1,
69
  system_prompt: str | None = SYSTEM_PROMPT,
70
  max_new_tokens: int = 2048,
71
  repetition_penalty: float = 1.2,