# Error using Claude 3.7 Sonnet with Discourse AI plugin

**URL:** <https://meta.discourse.org/t/error-using-claude-3-7-sonnet-with-discourse-ai-plugin/354624>\
**Category:** Bug\
**Tags:** ai, ai-bot\
**Created:** [February 26, 2025, 1:46pm UTC](https://meta.discourse.org/t/error-using-claude-3-7-sonnet-with-discourse-ai-plugin/354624 "2025-02-26T13:46:44Z")\
**Posts on this page:** 1\
**Showing post:** 9

<div class="post-metadata">

**Author:** ![sam](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/sam/32/102149_2.png) [@sam](https://meta.discourse.org/u/sam)\
**Post date:** [March 4, 2025, 2:41am UTC](https://meta.discourse.org/t/error-using-claude-3-7-sonnet-with-discourse-ai-plugin/354624/9 "2025-03-04T02:41:46Z")

</div>

Thinking is fixed per:

[https://github.com/discourse/discourse-ai/commit/f6eedf3e0b07e929eb8644b2496a67c80ef8eae0](https://github.com/discourse/discourse-ai/commit/f6eedf3e0b07e929eb8644b2496a67c80ef8eae0)

It is a very complex change, the protocol from anthropic is not easy to follow, you need to carry thinking blocks around.

Let me know how you go.

---

_[View the full topic](https://meta.discourse.org/t/error-using-claude-3-7-sonnet-with-discourse-ai-plugin/354624)._
