diff --git a/packages/cli/src/modules/chat-hub/chat-hub-workflow.service.ts b/packages/cli/src/modules/chat-hub/chat-hub-workflow.service.ts index dc05fae2804..f3176f89dee 100644 --- a/packages/cli/src/modules/chat-hub/chat-hub-workflow.service.ts +++ b/packages/cli/src/modules/chat-hub/chat-hub-workflow.service.ts @@ -474,11 +474,17 @@ export class ChatHubWorkflowService { }); return `The user's current local date and time is: ${now} (timezone: ${timeZone}). -When you need to reference “now”, use this date and time.`; +When you need to reference "now", use this date and time. + +You can only produce text responses. +You cannot create, generate, edit, or display images, videos, or other non-text content. +If the user asks you to generate or edit an image (or other media), explain that you are not able to do that and, if helpful, describe in words what the image could look like or how they could create it using external tools.`; } private getBaseSystemMessage(timeZone: string) { - return 'You are a helpful assistant.\n' + this.getSystemMessageMetadata(timeZone); + return `You are a helpful assistant. + +${this.getSystemMessageMetadata(timeZone)}`; } private buildToolsAgentNode( diff --git a/packages/cli/src/modules/chat-hub/chat-hub.service.ts b/packages/cli/src/modules/chat-hub/chat-hub.service.ts index 9ec36379e0d..ccccaf1f628 100644 --- a/packages/cli/src/modules/chat-hub/chat-hub.service.ts +++ b/packages/cli/src/modules/chat-hub/chat-hub.service.ts @@ -499,7 +499,7 @@ export class ChatHubService { } const systemMessage = - agent.systemPrompt + '\n' + this.chatHubWorkflowService.getSystemMessageMetadata(timeZone); + agent.systemPrompt + '\n\n' + this.chatHubWorkflowService.getSystemMessageMetadata(timeZone); const model: ChatHubBaseLLMModel = { provider: agent.provider,