diff --git a/libs/logic-apps-shared/src/designer-client-services/lib/consumption/manifests/agentloop.ts b/libs/logic-apps-shared/src/designer-client-services/lib/consumption/manifests/agentloop.ts index 8ad2a8f5d88..70e33cd2f30 100644 --- a/libs/logic-apps-shared/src/designer-client-services/lib/consumption/manifests/agentloop.ts +++ b/libs/logic-apps-shared/src/designer-client-services/lib/consumption/manifests/agentloop.ts @@ -132,6 +132,10 @@ export default { value: 'maximumTokenCountReduction', displayName: 'Token count reduction', }, + { + value: 'summarizationReduction', + displayName: 'Summarization reduction', + }, ], }, }, @@ -164,6 +168,35 @@ export default { ], }, }, + targetMessageCount: { + type: 'integer', + title: 'Target message count', + description: 'The desired number of target messages in the agent history', + 'x-ms-input-dependencies': { + type: 'visibility', + parameters: [ + { + name: 'agentModelSettings.agentHistoryReductionSettings.agentHistoryReductionType', + values: ['summarizationReduction'], + }, + ], + }, + }, + thresholdMessageCount: { + type: 'integer', + title: 'Threshold message count', + description: + 'The number of messages beyond the Target message count that must be present in order to trigger reduction in the agent history', + 'x-ms-input-dependencies': { + type: 'visibility', + parameters: [ + { + name: 'agentModelSettings.agentHistoryReductionSettings.agentHistoryReductionType', + values: ['summarizationReduction'], + }, + ], + }, + }, }, }, agentChatCompletionSettings: { diff --git a/libs/logic-apps-shared/src/designer-client-services/lib/standard/manifest/agentloop.ts b/libs/logic-apps-shared/src/designer-client-services/lib/standard/manifest/agentloop.ts index e3c523e7379..45743e777db 100644 --- a/libs/logic-apps-shared/src/designer-client-services/lib/standard/manifest/agentloop.ts +++ b/libs/logic-apps-shared/src/designer-client-services/lib/standard/manifest/agentloop.ts @@ -309,6 +309,10 @@ export default { value: 'maximumTokenCountReduction', displayName: 'Token count reduction', }, + { + value: 'summarizationReduction', + displayName: 'Summarization reduction', + }, ], }, }, @@ -341,6 +345,35 @@ export default { ], }, }, + targetMessageCount: { + type: 'integer', + title: 'Target message count', + description: 'The desired number of target messages in the agent history', + 'x-ms-input-dependencies': { + type: 'visibility', + parameters: [ + { + name: 'agentModelSettings.agentHistoryReductionSettings.agentHistoryReductionType', + values: ['summarizationReduction'], + }, + ], + }, + }, + thresholdMessageCount: { + type: 'integer', + title: 'Threshold message count', + description: + 'The number of messages beyond the Target message count that must be present in order to trigger reduction in the agent history', + 'x-ms-input-dependencies': { + type: 'visibility', + parameters: [ + { + name: 'agentModelSettings.agentHistoryReductionSettings.agentHistoryReductionType', + values: ['summarizationReduction'], + }, + ], + }, + }, }, }, deploymentModelProperties: {