fix: re-create session should skip rewrite messages (#6513)

This commit is contained in:
DarkSky
2024-04-11 12:22:45 +08:00
committed by GitHub
parent 5cd4c051fd
commit db1206dbd5
3 changed files with 12 additions and 12 deletions

View File

@@ -111,8 +111,9 @@ class CopilotHistoriesType implements Partial<ChatHistory> {
@Field(() => String, {
description: 'An mark identifying which view to use to display the session',
nullable: true,
})
action!: string;
action!: string | undefined;
@Field(() => Number, {
description: 'The number of tokens used in the session',