mattermost / mattermost-plugin-ai

Mattermost Copilot plugin supporting multiple LLMs
https://mattermost.com/copilot
Apache License 2.0
136 stars 30 forks source link

Better behavour for anthropic with multiple messages and mixed bot usage #235

Closed crspeller closed 3 months ago

crspeller commented 3 months ago

https://mattermost.atlassian.net/browse/MM-60230

Description

Fixes the behavior for using multiple bots when using Anthropic. It only supports a direct back and forth conversation between the LLM and the user. So combine all adjacent user and bot messages.