Chore: chat log refactor (#5523)

This commit is contained in:
KVOJJJin 2024-06-24 12:29:14 +08:00 • committed by GitHub
commit 8294e97113
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
97 changed files with 165 additions and 5249 deletions

View file

@ -12,7 +12,7 @@ import Loading from '@/app/components/base/loading'
import { fetchAgentLogDetail } from '@/service/log'
import type { AgentIteration, AgentLogDetailResponse } from '@/models/log'
import { useStore as useAppStore } from '@/app/components/app/store'
import type { IChatItem } from '@/app/components/app/chat/type'
import type { IChatItem } from '@/app/components/base/chat/chat/type'
export type AgentLogDetailProps = {
activeTab?: 'DETAIL' | 'TRACING'

View file

@ -5,7 +5,7 @@ import { RiCloseLine } from '@remixicon/react'
import { useEffect, useRef, useState } from 'react'
import { useClickAway } from 'ahooks'
import AgentLogDetail from './detail'
import type { IChatItem } from '@/app/components/app/chat/type'
import type { IChatItem } from '@/app/components/base/chat/chat/type'
type AgentLogModalProps = {
currentLogItem?: IChatItem