Skip to content

Commit

Permalink
workaround for chat_history (#40)
Browse files Browse the repository at this point in the history
  • Loading branch information
gotsysdba authored Nov 8, 2024
1 parent a140c05 commit 162f087
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions app/src/content/api_server.py
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,8 @@ def api_server_start():
state.api_server_config["port"] = state.user_api_server_port
if "user_api_server_key" in state:
state.api_server_config["key"] = state.user_api_server_key
if "user_chat_history" not in state:
state.user_chat_history = True
if "initialized" in state and state.initialized:
if "server_thread" not in state:
try:
Expand Down

0 comments on commit 162f087

Please sign in to comment.