diff --git a/api/__init__.py b/api/__init__.py index 1eaa1b86..1d49361a 100644 --- a/api/__init__.py +++ b/api/__init__.py @@ -1538,6 +1538,7 @@ class LoLLMsAPI(LollmsApplication): # Raise an error if the available space is 0 or less if available_space<1: + self.error("Not enough space in context!!") raise Exception("Not enough space in context!!") # Accumulate messages until the cumulative number of tokens exceeds available_space diff --git a/lollms_core b/lollms_core index 9acdc3e9..3834c050 160000 --- a/lollms_core +++ b/lollms_core @@ -1 +1 @@ -Subproject commit 9acdc3e9cd7880451b57e290d08c2957347766bb +Subproject commit 3834c050bdbddcdfbe810d25ea2e4c3af50b7f5e diff --git a/zoos/bindings_zoo b/zoos/bindings_zoo index 0346a1ef..cd567955 160000 --- a/zoos/bindings_zoo +++ b/zoos/bindings_zoo @@ -1 +1 @@ -Subproject commit 0346a1efc2bc16d4e700d603fedc3ecbfe9b58bd +Subproject commit cd567955cc3e112c7bdc2b7e679094b849bb8602 diff --git a/zoos/personalities_zoo b/zoos/personalities_zoo index 97ec1416..5f6e24f3 160000 --- a/zoos/personalities_zoo +++ b/zoos/personalities_zoo @@ -1 +1 @@ -Subproject commit 97ec1416d0af1377a8cfc96d9f55cb3f31681293 +Subproject commit 5f6e24f39a8ecf334bb612dd208073c3f182fd8f