lamhieu commited on
Commit
32d67aa
·
1 Parent(s): 163dbba

chore: update something

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -403,7 +403,7 @@ def generate(
403
  top_p: float = 0.95,
404
  top_k: int = 50,
405
  repetition_penalty: float = 1.0,
406
- local_date_time: str = None,
407
  ) -> Iterator[str]:
408
  # print()
409
  # print("allow_used_tools:\n", allow_used_tools)
@@ -422,9 +422,9 @@ def generate(
422
  conversation.append({"role": "tools", "content": supported_tools})
423
 
424
  if references is None:
425
- references = [local_date_time]
426
  else:
427
- references.insert(0, local_date_time)
428
 
429
  if (
430
  references is not None
 
403
  top_p: float = 0.95,
404
  top_k: int = 50,
405
  repetition_penalty: float = 1.0,
406
+ other_client_info: str = None,
407
  ) -> Iterator[str]:
408
  # print()
409
  # print("allow_used_tools:\n", allow_used_tools)
 
422
  conversation.append({"role": "tools", "content": supported_tools})
423
 
424
  if references is None:
425
+ references = [other_client_info]
426
  else:
427
+ references.insert(0, other_client_info)
428
 
429
  if (
430
  references is not None