Skip to content

Conversation

@sunyuhan1998
Copy link
Contributor

As mentioned in issue: #3266, when executing the augmentSystemMessage method of the Prompt, an extra system message would be incorrectly added if the system message was not the first one in the message list. This PR fixes that issue.

…where an extra system message was incorrectly added when the system message was not the first one in the message list.

Signed-off-by: Sun Yuhan <1085481446@qq.com>
@sunyuhan1998
Copy link
Contributor Author

Hi @ThomasVitale , what do you think? Is this a bug?

…where an extra system message was incorrectly added when the system message was not the first one in the message list.

Signed-off-by: Sun Yuhan <1085481446@qq.com>
@ilayaperumalg
Copy link
Member

Squashed, rebased and merged as 902fc09. Also, back-ported into 1.0.x via 623e705

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants