feat(server): expose reuse latest chat (#12999)

fix AI-289
This commit is contained in:
DarkSky
2025-07-03 12:46:23 +08:00
committed by GitHub
parent 4fd42a8461
commit 2ea3c3da9d
5 changed files with 13 additions and 1 deletions
@@ -64,6 +64,12 @@ class CreateChatSessionInput {
@Field(() => Boolean, { nullable: true })
pinned?: boolean;
@Field(() => Boolean, {
nullable: true,
description: 'true by default, compliant for old version',
})
reuseLatestChat?: boolean;
}
@InputType()