mirror of
https://github.com/ParisNeo/lollms-webui.git
synced 2024-12-24 06:36:37 +00:00
added an error message
This commit is contained in:
parent
79381b63df
commit
bfc159bb72
@ -1538,6 +1538,7 @@ class LoLLMsAPI(LollmsApplication):
|
|||||||
|
|
||||||
# Raise an error if the available space is 0 or less
|
# Raise an error if the available space is 0 or less
|
||||||
if available_space<1:
|
if available_space<1:
|
||||||
|
self.error("Not enough space in context!!")
|
||||||
raise Exception("Not enough space in context!!")
|
raise Exception("Not enough space in context!!")
|
||||||
|
|
||||||
# Accumulate messages until the cumulative number of tokens exceeds available_space
|
# Accumulate messages until the cumulative number of tokens exceeds available_space
|
||||||
|
@ -1 +1 @@
|
|||||||
Subproject commit 9acdc3e9cd7880451b57e290d08c2957347766bb
|
Subproject commit 3834c050bdbddcdfbe810d25ea2e4c3af50b7f5e
|
@ -1 +1 @@
|
|||||||
Subproject commit 0346a1efc2bc16d4e700d603fedc3ecbfe9b58bd
|
Subproject commit cd567955cc3e112c7bdc2b7e679094b849bb8602
|
@ -1 +1 @@
|
|||||||
Subproject commit 97ec1416d0af1377a8cfc96d9f55cb3f31681293
|
Subproject commit 5f6e24f39a8ecf334bb612dd208073c3f182fd8f
|
Loading…
Reference in New Issue
Block a user