Platform for stateful agents: AI with advanced memory that can learn and self-improve over time.
default to webui if BACKEND_TYPE is not set
Charles Packer3d2b4c74891c
diff --git a/memgpt/local_llm/chat_completion_proxy.py b/memgpt/local_llm/chat_completion_proxy.pyindex ae9833391..f4fe7b813 100644--- a/memgpt/local_llm/chat_completion_proxy.py+++ b/memgpt/local_llm/chat_completion_proxy.py@@ -40,7 +40,8 @@ async def get_chat_completion(if HOST_TYPE == "webui":result = get_webui_completion(prompt)else:- raise ValueError(HOST_TYPE)+ print(f"Warning: HOST_TYPE was not set, defaulting to webui")+ result = get_webui_completion(prompt)except requests.exceptions.ConnectionError as e:raise ValueError(f"Was unable to connect to host {HOST}")