Avoid duplicating context message

Created on 19 May 2025, 14 days ago

Problem/Motivation

In AiAgentEntityWrapper::getDefaultInformationTools, the line
$dynamic .= "The following is information that is important as context: \n"; is redundant, as the same text is included in the output of
AiAgentEntityWrapper::createContextMessage(). This results in the context message being printed twice.

Steps to reproduce

Proposed resolution

Remove the line
$dynamic .= "The following is information that is important as context: \n"; from
AiAgentEntityWrapper::getDefaultInformationTools() to avoid duplication and keep the message formatting consistent.

Remaining tasks

User interface changes

API changes

Data model changes

📌 Task
Status

Active

Version

1.1

Component

Code

Created by

🇮🇳India narendraR Jaipur, India

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

Production build 0.71.5 2024