Change GenerateImage tool description

This commit is contained in:
Cohee
2024-10-09 02:57:08 +03:00
parent bdaf7b9258
commit de57123e62

View File

@@ -3858,7 +3858,7 @@ function registerFunctionTool() {
displayName: 'Generate Image', displayName: 'Generate Image',
description: [ description: [
'Generate an image from a given text prompt.', 'Generate an image from a given text prompt.',
'Use when a user asks for an image, a selfie, to picture a scene, etc.', 'Use when a user asks to generate an image, imagine a concept or an item, send a picture of a scene, a selfie, etc.',
].join(' '), ].join(' '),
parameters: Object.freeze({ parameters: Object.freeze({
$schema: 'http://json-schema.org/draft-04/schema#', $schema: 'http://json-schema.org/draft-04/schema#',