fix: lint and type errors

This commit is contained in:
mingholy.lmh
2025-09-17 19:14:37 +08:00
parent b4ba23fd80
commit caedd8338f
13 changed files with 107 additions and 102 deletions

View File

@@ -5,7 +5,7 @@
*/
import { type PartListUnion, type Part } from '@google/genai';
import { AuthType, Config } from '@qwen-code/qwen-code-core';
import { AuthType, type Config } from '@qwen-code/qwen-code-core';
import { useCallback, useRef } from 'react';
import { VisionSwitchOutcome } from '../components/ModelSwitchDialog.js';
import {
@@ -13,7 +13,7 @@ import {
isVisionModel,
} from '../models/availableModels.js';
import { MessageType } from '../types.js';
import { UseHistoryManagerReturn } from './useHistoryManager.js';
import type { UseHistoryManagerReturn } from './useHistoryManager.js';
/**
* Checks if a PartListUnion contains image parts