# AI Bot Max Context Posts

**URL:** https://meta.discourse.org/t/ai-bot-max-context-posts/326180
**Category:** Support
**Tags:** ai, ai-bot
**Created:** [September 12, 2024, 10:53am UTC](https://meta.discourse.org/t/ai-bot-max-context-posts/326180 "2024-09-12T10:53:13Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![tpetrov](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/tpetrov/32/164643_2.png) [@tpetrov](https://meta.discourse.org/u/tpetrov)
#### Post date: [September 12, 2024, 10:53am UTC](https://meta.discourse.org/t/ai-bot-max-context-posts/326180/1 "2024-09-12T10:53:13Z")

</div>

When I set Max Context Posts

 ![image](https://global.discourse-cdn.com/meta/original/4X/3/3/3/333e799a03a10faf2ee6bb7cf70cbb7ccd0aab66.png)  
to a number, when this number of posts is reached in a PM conversation the bot simply stops replying.

Is this the intent of that setting? If yes shouldn’t it alert the user that a threshold was reached instead of simply stop replying?

---

<div class="post-metadata">

### Author: ![Jagster](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jagster/32/192154_2.png) [@Jagster](https://meta.discourse.org/u/Jagster)
#### Post date: [September 12, 2024, 11:03am UTC](https://meta.discourse.org/t/ai-bot-max-context-posts/326180/2 "2024-09-12T11:03:04Z")

</div>

It doesn’t work that way. It ”remembers” that many answers and use that as keeping context and using it as base of new answers.

Propably use are using too many tokens or something similar and it just stops fullfilling your request.

I guess error log should show something.

---

<div class="post-metadata">

### Author: ![tpetrov](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/tpetrov/32/164643_2.png) [@tpetrov](https://meta.discourse.org/u/tpetrov)
#### Post date: [September 13, 2024, 11:16am UTC](https://meta.discourse.org/t/ai-bot-max-context-posts/326180/3 "2024-09-13T11:16:53Z")

</div>

Yes, that’s also what I thought from the description.  
But until yesterday it would just hang if I reach the number of posts.

Today when I tried it it works as expected - doesn’t hang and just keeps the specified number of posts. So this seems to be fixed :slight_smile:

---

<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: [September 13, 2024, 11:21pm UTC](https://meta.discourse.org/t/ai-bot-max-context-posts/326180/4 "2024-09-13T23:21:37Z")

</div>

Odd issue, but yeah it just sets the size of the context.

I wonder if there is some bug lurking here during upgrades.

I also do want to add a “summarize” strategy, which will allow enormous contexts with small token counts. (for every N tokens, summarize the tokens for important key information)

---

<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: [September 15, 2024, 10:00pm UTC](https://meta.discourse.org/t/ai-bot-max-context-posts/326180/5 "2024-09-15T22:00:44Z")

</div>

This topic was automatically closed after 46 hours. New replies are no longer allowed.
