refactor: remove imported multiple times (#1846)

This commit is contained in:
Noritaka Kobayashi
2025-06-29 18:09:15 +09:00
committed by GitHub
parent e188daab91
commit b980a47879
8 changed files with 20 additions and 14 deletions

View File

@@ -32,13 +32,13 @@ import { retryWithBackoff } from '../utils/retry.js';
import { getErrorMessage } from '../utils/errors.js';
import { tokenLimit } from './tokenLimits.js';
import {
AuthType,
ContentGenerator,
ContentGeneratorConfig,
createContentGenerator,
} from './contentGenerator.js';
import { ProxyAgent, setGlobalDispatcher } from 'undici';
import { DEFAULT_GEMINI_FLASH_MODEL } from '../config/models.js';
import { AuthType } from './contentGenerator.js';
function isThinkingSupported(model: string) {
if (model.startsWith('gemini-2.5')) return true;