Skip to content

armgit / letta

Public Imported from GitHub
0

Platform for stateful agents: AI with advanced memory that can learn and self-improve over time.

more stop tokens (#288)

Charles Packer6b4008c72e37
diff --git a/memgpt/local_llm/lmstudio/settings.py b/memgpt/local_llm/lmstudio/settings.py
index d446b15fd..bc8b94166 100644
--- a/memgpt/local_llm/lmstudio/settings.py
+++ b/memgpt/local_llm/lmstudio/settings.py
@@ -5,6 +5,11 @@ SIMPLE = {
"\nUSER:",
"\nASSISTANT:",
"\nFUNCTION RETURN:",
+ "\nUSER",
+ "\nASSISTANT",
+ "\nFUNCTION RETURN",
+ "\nFUNCTION",
+ "\nFUNC",
"<|im_start|>",
"<|im_end|>",
"<|im_sep|>",
diff --git a/memgpt/local_llm/webui/settings.py b/memgpt/local_llm/webui/settings.py
index f8a375dd9..5d1e91576 100644
--- a/memgpt/local_llm/webui/settings.py
+++ b/memgpt/local_llm/webui/settings.py
@@ -5,6 +5,11 @@ SIMPLE = {
"\nUSER:",
"\nASSISTANT:",
"\nFUNCTION RETURN:",
+ "\nUSER",
+ "\nASSISTANT",
+ "\nFUNCTION RETURN",
+ "\nFUNCTION",
+ "\nFUNC",
"<|im_start|>",
"<|im_end|>",
"<|im_sep|>",