fix(web): move EpisodicMemoryType type

This commit is contained in:
zhaoying
2026-04-22 17:34:32 +08:00
parent f8ef32c1dd
commit ae770fb131
2 changed files with 4 additions and 3 deletions

View File

@@ -21,7 +21,6 @@ import type {
import type {
ConfigForm as SelfReflectionEngineConfig
} from '@/views/SelfReflectionEngine/types'
import type { EpisodicMemoryType } from '@/views/UserMemoryDetail/pages/ExplicitDetail'
import type { TestParams } from '@/views/MemoryConversation'
import type { EndUser } from '@/views/UserMemoryDetail/types'
import { handleSSE, type SSEMessage } from '@/utils/stream'
@@ -219,6 +218,8 @@ export const getTimelineMemories = (data: { id: string; label: string; }) => {
export const getExplicitMemory = (end_user_id: string) => {
return request.post(`/memory/explicit-memory/overview`, { end_user_id })
}
export type EpisodicMemoryType = "conversation" | "project_work" | "learning" | "decision" | "important_event"
export interface EpisodicMemoryQuery {
end_user_id?: string;
page?: number;