mirror of
https://github.com/slhaf/Partner.git
synced 2026-05-12 16:53:04 +08:00
refactor(action): optimize resolved context domains
This commit is contained in:
@@ -111,6 +111,7 @@ public class ActionCorrectionRecognizer extends AbstractAgentModule.Sub<Correcto
|
|||||||
private Message resolveContextMessage() {
|
private Message resolveContextMessage() {
|
||||||
return cognitionCapability.contextWorkspace().resolve(List.of(
|
return cognitionCapability.contextWorkspace().resolve(List.of(
|
||||||
ContextBlock.FocusedDomain.COMMUNICATION,
|
ContextBlock.FocusedDomain.COMMUNICATION,
|
||||||
|
ContextBlock.FocusedDomain.PERCEIVE,
|
||||||
ContextBlock.FocusedDomain.MEMORY
|
ContextBlock.FocusedDomain.MEMORY
|
||||||
)).encodeToMessage();
|
)).encodeToMessage();
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -128,6 +128,7 @@ public class ActionCorrector extends AbstractAgentModule.Sub<CorrectorInput, Res
|
|||||||
private Message resolveContextMessage() {
|
private Message resolveContextMessage() {
|
||||||
return cognitionCapability.contextWorkspace().resolve(List.of(
|
return cognitionCapability.contextWorkspace().resolve(List.of(
|
||||||
ContextBlock.FocusedDomain.COMMUNICATION,
|
ContextBlock.FocusedDomain.COMMUNICATION,
|
||||||
|
ContextBlock.FocusedDomain.PERCEIVE,
|
||||||
ContextBlock.FocusedDomain.MEMORY
|
ContextBlock.FocusedDomain.MEMORY
|
||||||
)).encodeToMessage();
|
)).encodeToMessage();
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -99,6 +99,7 @@ public class ParamsExtractor extends AbstractAgentModule.Sub<ExtractorInput, Res
|
|||||||
return cognitionCapability.contextWorkspace()
|
return cognitionCapability.contextWorkspace()
|
||||||
.resolve(List.of(
|
.resolve(List.of(
|
||||||
ContextBlock.FocusedDomain.ACTION,
|
ContextBlock.FocusedDomain.ACTION,
|
||||||
|
ContextBlock.FocusedDomain.PERCEIVE,
|
||||||
ContextBlock.FocusedDomain.COMMUNICATION,
|
ContextBlock.FocusedDomain.COMMUNICATION,
|
||||||
ContextBlock.FocusedDomain.MEMORY
|
ContextBlock.FocusedDomain.MEMORY
|
||||||
))
|
))
|
||||||
|
|||||||
Reference in New Issue
Block a user