docs: the bot always reads the thread of a mention

Remove the instructions to switch thread reading off and the
thread_context field from the API reference. The privacy statement
stays: the bot reads only the thread where it was mentioned.

Assisted-by: Claude Code:claude-sonnet-5-5
Signed-off-by: Ettore Di Giacinto <mudler@localai.io>
This commit is contained in:
Ettore Di Giacinto committed 2026-11-03 11:54:41 +00:00
1 parent 26767b6b88
commit 76c79e5ae6
4 files changed
+7 -48

No files matched your search

+3 -4
View File
@@ -314,10 +314,9 @@ the mention makes a new chat, and gives them to the agent with the first message
- **It never blocks the answer.** If the platform refuses, is slow or limits the calls,
the agent answers without the context. The server logs the reason once.
To switch it off for a binding, turn off **Read the earlier messages of a thread** under
**How it answers**, or send `"thread_context": false`. An update without `thread_context`
keeps the stored value. The setting has no effect on a platform that cannot give
earlier messages.
There is no setting for this. The bot always reads the thread when it is mentioned in
one, on a platform whose add-on can give the earlier messages; on any other platform it
reads nothing.
## How the bot answers
+1 -13
View File
@@ -18329,10 +18329,6 @@ const docTemplate = `{
"description": "SendFiles sends the files that a turn makes to the sender, after the\nanswer.",
"type": "boolean"
},
"thread_context": {
"description": "ThreadContext lets the bot read the earlier messages of the thread in\nwhich it is mentioned. It has an effect only on a platform that can\ngive them.",
"type": "boolean"
},
"window_minutes": {
"type": "integer"
}
@@ -19141,10 +19137,6 @@ const docTemplate = `{
"description": "SendFiles sends the files that a turn makes to the sender, after the\nanswer.",
"type": "boolean"
},
"thread_context": {
"description": "ThreadContext lets the bot read the earlier messages of the thread in\nwhich it is mentioned. It has an effect only on a platform that can\ngive them.",
"type": "boolean"
},
"window_minutes": {
"type": "integer"
}
@@ -19177,7 +19169,7 @@ const docTemplate = `{
"type": "string"
},
"thread_history": {
"description": "ThreadHistory is true when the platform can give the earlier messages\nof a thread, so a binding of this kind has the thread_context option.",
"description": "ThreadHistory is true when the platform can give the earlier messages\nof a thread. The host then reads them whenever the bot is mentioned in a\nthread.",
"type": "boolean"
},
"title": {
@@ -19337,10 +19329,6 @@ const docTemplate = `{
"description": "SendFiles turns the sending of a turn's files on or off. Absent means\non for a new binding and unchanged for an update.",
"type": "boolean"
},
"thread_context": {
"description": "ThreadContext turns the reading of the earlier messages of a thread on\nor off. Absent means on for a new binding and unchanged for an update.",
"type": "boolean"
},
"token": {
"type": "string"
},
+1 -13
View File
@@ -18326,10 +18326,6 @@
"description": "SendFiles sends the files that a turn makes to the sender, after the\nanswer.",
"type": "boolean"
},
"thread_context": {
"description": "ThreadContext lets the bot read the earlier messages of the thread in\nwhich it is mentioned. It has an effect only on a platform that can\ngive them.",
"type": "boolean"
},
"window_minutes": {
"type": "integer"
}
@@ -19138,10 +19134,6 @@
"description": "SendFiles sends the files that a turn makes to the sender, after the\nanswer.",
"type": "boolean"
},
"thread_context": {
"description": "ThreadContext lets the bot read the earlier messages of the thread in\nwhich it is mentioned. It has an effect only on a platform that can\ngive them.",
"type": "boolean"
},
"window_minutes": {
"type": "integer"
}
@@ -19174,7 +19166,7 @@
"type": "string"
},
"thread_history": {
"description": "ThreadHistory is true when the platform can give the earlier messages\nof a thread, so a binding of this kind has the thread_context option.",
"description": "ThreadHistory is true when the platform can give the earlier messages\nof a thread. The host then reads them whenever the bot is mentioned in a\nthread.",
"type": "boolean"
},
"title": {
@@ -19334,10 +19326,6 @@
"description": "SendFiles turns the sending of a turn's files on or off. Absent means\non for a new binding and unchanged for an update.",
"type": "boolean"
},
"thread_context": {
"description": "ThreadContext turns the reading of the earlier messages of a thread on\nor off. Absent means on for a new binding and unchanged for an update.",
"type": "boolean"
},
"token": {
"type": "string"
},
+2 -18
View File
@@ -2857,12 +2857,6 @@ definitions:
SendFiles sends the files that a turn makes to the sender, after the
answer.
type: boolean
thread_context:
description: |-
ThreadContext lets the bot read the earlier messages of the thread in
which it is mentioned. It has an effect only on a platform that can
give them.
type: boolean
window_minutes:
type: integer
type: object
@@ -3510,12 +3504,6 @@ definitions:
SendFiles sends the files that a turn makes to the sender, after the
answer.
type: boolean
thread_context:
description: |-
ThreadContext lets the bot read the earlier messages of the thread in
which it is mentioned. It has an effect only on a platform that can
give them.
type: boolean
window_minutes:
type: integer
type: object
@@ -3542,7 +3530,8 @@ definitions:
thread_history:
description: |-
ThreadHistory is true when the platform can give the earlier messages
of a thread, so a binding of this kind has the thread_context option.
of a thread. The host then reads them whenever the bot is mentioned in a
thread.
type: boolean
title:
type: string
@@ -3658,11 +3647,6 @@ definitions:
SendFiles turns the sending of a turn's files on or off. Absent means
on for a new binding and unchanged for an update.
type: boolean
thread_context:
description: |-
ThreadContext turns the reading of the earlier messages of a thread on
or off. Absent means on for a new binding and unchanged for an update.
type: boolean
token:
type: string
window_minutes: