Always getting error: final assistant content cannot end with trailing whitespace

Created on 16 January 2025, 3 months ago

Problem/Motivation

I have an AI provider set up via AWS Bedrock and an AI assistant set to use the Model Claude 3.5 Sonnet. I have not changed any of the AI Agent settings (field_type_agent, node_content_type_agent, and taxonomy_agent). I am using AI Deepchat Chatbot. I am able to successfully manipulate content types and fields, but the chat does not ultimately give me any confirmation, but rather always shows an error (even though the actions I requested were performed successfully). With some debugging, I am seeing that the error is as follows:

"final assistant content cannot end with trailing whitespace"

I have not been able to figure out how to trim the "final assistant content" in the code.

πŸ› Bug report
Status

Active

Version

1.0

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States dgroene

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