fix: lint error

This commit is contained in:
fullex 2025-10-16 17:13:30 +08:00
parent d7eb88f7e2
commit 8d64bb0316
2 changed files with 3 additions and 3 deletions

View File

@ -4,13 +4,13 @@
*/
import { loggerService } from '@logger'
import type { AISDKWebSearchResult, MCPTool, WebSearchResults } from '@types'
import { WebSearchSource } from '@types'
import { type Chunk, ChunkType } from '@renderer/types/chunk'
import { ProviderSpecificError } from '@renderer/types/provider-specific-error'
import { formatErrorMessage } from '@renderer/utils/error'
import { convertLinks, flushLinkConverterBuffer } from '@renderer/utils/linkConverter'
import type { ClaudeCodeRawValue } from '@shared/agents/claudecode/types'
import type { AISDKWebSearchResult, MCPTool, WebSearchResults } from '@types'
import { WebSearchSource } from '@types'
import type { TextStreamPart, ToolSet } from 'ai'
import { ToolCallChunkHandler } from './handleToolCallChunk'

View File

@ -9,9 +9,9 @@ import { useAssistantsTabSortType } from '@renderer/hooks/useStore'
import { useTags } from '@renderer/hooks/useTags'
import { useAppDispatch } from '@renderer/store'
import { addIknowAction } from '@renderer/store/runtime'
import type { Assistant } from '@types'
import { getErrorMessage } from '@renderer/utils'
import type { AssistantTabSortType } from '@shared/data/preference/preferenceTypes'
import type { Assistant } from '@types'
import type { FC } from 'react'
import { useCallback, useEffect, useRef, useState } from 'react'
import { useTranslation } from 'react-i18next'