Skip to content

Commit 73df3f1

Browse files
committed
More precise descrition for action structure
1 parent 5c76683 commit 73df3f1

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

lib/utils/llm/structures/google.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,8 @@ export const ActionGoogleSchema: Schema = {
1212
},
1313
description: {
1414
type: SchemaType.STRING,
15-
description: 'Free text describing the action',
15+
description:
16+
'Free text describing the action concerning the related tokens, the platform to use and expected APY',
1617
nullable: false
1718
},
1819
platforms: {

lib/utils/llm/structures/zod.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,8 @@ export const ActionZodSchema = z.object({
77
'Comma-separated list of symbols of the involved crypto currencies or tokens, for example: USDC, ETH'
88
}),
99
description: z.string({
10-
description: 'Free text describing the action concerning the related tokens'
10+
description:
11+
'Free text describing the action concerning the related tokens, the platform to use and expected APY'
1112
}),
1213
platforms: z.array(
1314
z.string({

0 commit comments

Comments
 (0)