mirror of
https://github.com/slhaf/Partner.git
synced 2026-05-12 16:53:04 +08:00
chore(action): remove unused variable
This commit is contained in:
@@ -140,7 +140,6 @@ public class ActionPlanner extends AbstractAgentModule.Running<PartnerRunningFlo
|
|||||||
}
|
}
|
||||||
|
|
||||||
private void handleEvaluatorResults(List<EvaluatorResult> evaluatorResults, String source) {
|
private void handleEvaluatorResults(List<EvaluatorResult> evaluatorResults, String source) {
|
||||||
boolean hasPassedAction = false;
|
|
||||||
boolean hasPendingConfirmation = false;
|
boolean hasPendingConfirmation = false;
|
||||||
List<String> refusedTendencies = new ArrayList<>();
|
List<String> refusedTendencies = new ArrayList<>();
|
||||||
for (EvaluatorResult evaluatorResult : evaluatorResults) {
|
for (EvaluatorResult evaluatorResult : evaluatorResults) {
|
||||||
@@ -153,7 +152,6 @@ public class ActionPlanner extends AbstractAgentModule.Running<PartnerRunningFlo
|
|||||||
if (executableAction == null) {
|
if (executableAction == null) {
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
hasPassedAction = true;
|
|
||||||
if (evaluatorResult.isNeedConfirm()) {
|
if (evaluatorResult.isNeedConfirm()) {
|
||||||
hasPendingConfirmation = true;
|
hasPendingConfirmation = true;
|
||||||
registerPendingContextBlock(executableAction, evaluatorResult);
|
registerPendingContextBlock(executableAction, evaluatorResult);
|
||||||
|
|||||||
Reference in New Issue
Block a user