Skip to content

Commit 08ffca0

Browse files
authored
fix(designer): Change input for Agent (#6854)
agent changes
1 parent ed801da commit 08ffca0

File tree

1 file changed

+7
-26
lines changed
  • libs/logic-apps-shared/src/designer-client-services/lib/standard/manifest

1 file changed

+7
-26
lines changed

libs/logic-apps-shared/src/designer-client-services/lib/standard/manifest/agentloop.ts

+7-26
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@ export default {
88
brandColor: '#072a8e',
99
description:
1010
'Loop in which the AI agent decides at each step which tools to use and how, and which text to generate to respond to the user.',
11-
1211
allowChildOperations: true,
1312
subGraphDetails: {
1413
tools: {
@@ -47,50 +46,32 @@ export default {
4746
'x-ms-connection-required': true,
4847
'x-ms-visibility': 'important',
4948
},
50-
messages: {
51-
description: 'Messages',
52-
type: 'array',
53-
items: {
54-
description: 'Message',
55-
required: ['Role', 'Content'],
56-
type: 'object',
57-
properties: {
58-
role: {
59-
description: 'Message role',
60-
type: 'string',
61-
'x-ms-summary': 'Role',
62-
},
63-
content: {
64-
description: 'Message content',
65-
type: 'string',
66-
'x-ms-summary': 'Content',
67-
},
68-
},
69-
},
70-
required: ['Role', 'Content'],
71-
'x-ms-summary': 'Messages',
49+
instructions: {
50+
title: 'Instructions',
51+
description: 'Provide instructions for your agent',
52+
type: 'string',
53+
'x-ms-summary': 'Instructions',
7254
'x-ms-visibility': 'important',
7355
},
7456
limit: {
7557
type: 'object',
7658
'x-ms-group-name': 'Change limits',
7759
required: [],
60+
default: {},
7861
properties: {
7962
count: {
8063
type: 'integer',
81-
default: 60,
8264
title: 'Count',
8365
},
8466
timeout: {
8567
type: 'string',
86-
default: 'PT1H',
8768
title: 'Timeout',
8869
'x-ms-stateless-default': 'PT5M',
8970
},
9071
},
9172
},
9273
},
93-
required: ['deploymentId', 'messages'],
74+
required: ['deploymentId', 'instructions'],
9475
},
9576
inputsLocation: ['inputs', 'parameters'],
9677
isInputsOptional: false,

0 commit comments

Comments
 (0)