app-server: Add ephemeral field to Thread object (#13084)

Currently there is no alternative way to know that thread is ephemeral,
only client which did create it has the knowledge.
This commit is contained in:
Ruslan Nigmatullin
2026-02-27 17:42:25 -08:00
committed by GitHub
parent 1a8d930267
commit 8c1e3f3e64
19 changed files with 108 additions and 0 deletions

View File

@@ -2517,6 +2517,8 @@ pub struct Thread {
pub id: String,
/// Usually the first user message in the thread, if available.
pub preview: String,
/// Whether the thread is ephemeral and should not be materialized on disk.
pub ephemeral: bool,
/// Model provider used for this thread (for example, 'openai').
pub model_provider: String,
/// Unix timestamp (in seconds) when the thread was created.