This commit is contained in:
Zacharias-Brohn
2026-01-14 22:51:46 +01:00
parent e222977f5c
commit c51b3c3fab
14 changed files with 452 additions and 216 deletions
+4 -4
View File
@@ -13,11 +13,11 @@ export const imageGenerationTool: Tool = {
type: 'function',
function: {
name: 'generate_image',
description:
'Generate an image based on a text description. Creates images using AI image generation. ' +
(IMAGE_API_URL
description: `Generate an image based on a text description. Creates images using AI image generation. ${
IMAGE_API_URL
? 'Image generation is available.'
: 'NOTE: Image generation is not configured. Set IMAGE_GENERATION_API_URL environment variable.'),
: 'NOTE: Image generation is not configured. Set IMAGE_GENERATION_API_URL environment variable.'
}`,
parameters: {
type: 'object',
properties: {