mirror of
https://github.com/KoboldAI/KoboldAI-Client.git
synced 2025-06-05 21:59:24 +02:00
Model: Reformat and clean up
This commit is contained in:
@@ -360,9 +360,8 @@ class InferenceModel:
|
||||
# amount (controlled by halt), or Dynamic WI has not told us to
|
||||
# stop temporarily to insert WI, we can assume that we are done
|
||||
# generating. We shall break.
|
||||
if (
|
||||
self.gen_state.get("halt")
|
||||
or not self.gen_state.get("regeneration_required")
|
||||
if self.gen_state.get("halt") or not self.gen_state.get(
|
||||
"regeneration_required"
|
||||
):
|
||||
break
|
||||
|
||||
|
Reference in New Issue
Block a user