mirror of
https://github.com/shumaiOne/shumai.git
synced 2026-11-28 20:04:26 +00:00
feat(chat): add AgentSessionType enum and filter chatbot history sessions
This commit is contained in:
+8
@@ -153,3 +153,11 @@ export const AgentType = {
|
||||
} as const
|
||||
|
||||
export type AgentType = (typeof AgentType)[keyof typeof AgentType]
|
||||
|
||||
|
||||
export const AgentSessionType = {
|
||||
comment: 'comment',
|
||||
chat: 'chat'
|
||||
} as const
|
||||
|
||||
export type AgentSessionType = (typeof AgentSessionType)[keyof typeof AgentSessionType]
|
||||
|
||||
Reference in New Issue
Block a user