mirror of
https://github.com/KoboldAI/KoboldAI-Client.git
synced 2025-06-05 21:59:24 +02:00
Model: Fix API support
This commit is contained in:
@@ -365,8 +365,8 @@ class InferenceModel:
|
|||||||
# stop temporarily to insert WI, we can assume that we are done
|
# stop temporarily to insert WI, we can assume that we are done
|
||||||
# generating. We shall break.
|
# generating. We shall break.
|
||||||
if (
|
if (
|
||||||
self.gen_state["halt"]
|
self.gen_state.get("halt")
|
||||||
or not self.gen_state["regeneration_required"]
|
or not self.gen_state.get("regeneration_required")
|
||||||
):
|
):
|
||||||
break
|
break
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user