# Discourse Chatbot 🤖

**URL:** https://meta.discourse.org/t/discourse-chatbot/256652
**Category:** Plugin
**Tags:** ai
**Created:** [March 1, 2023, 11:08am UTC](https://meta.discourse.org/t/discourse-chatbot/256652 "2023-03-01T11:08:25Z")
**Posts on this page:** 1
**Showing post:** 1127

<div class="post-metadata">

### Author: ![merefield](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/merefield/32/176214_2.png) [@merefield](https://meta.discourse.org/u/merefield)
#### Post date: [August 16, 2026, 5:05pm UTC](https://meta.discourse.org/t/discourse-chatbot/256652/1127 "2026-08-16T17:05:00Z")

</div>

Just dropped some cache optimisations, which should lower the cost of using Chatbot and speed up its response.

> <https://github.com/merefield/discourse-chatbot/pull/172>
>
> Previously, changing timestamps, removed tool schemas, nondeterministic extensio…n ordering, and absent cache routing metadata reduced prompt-cache reuse, while a trailing date message could distract the model from the user’s request.
> 
> This change creates stable prompt prefixes for Responses and Chat Completions, adds conversation-scoped cache keys and GPT-5.6 breakpoints for official OpenAI endpoints, preserves tool schemas with \`tool\_choice: "none"\`, records cache-token usage, relies on the calculator’s \`NOW\` support when available, supplies an early date-only fallback otherwise, and is validated by plugin lint plus 86 focused examples.

---

_[View the full topic](https://meta.discourse.org/t/discourse-chatbot/256652)._
