Chore: chat log refactor (#5523)
This commit is contained in:
parent
47a5d4527b
commit
8294e97113
97 changed files with 165 additions and 5249 deletions
|
|
@ -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'
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue