mirror of
https://github.com/CherryHQ/cherry-studio.git
synced 2025-12-26 03:31:24 +08:00
test(api): 添加SYSTEM_MODELS到模拟配置中
This commit is contained in:
parent
afbf5ecaf7
commit
b1d316cc3c
@ -15,7 +15,7 @@ import { ApiClientFactory } from '@renderer/aiCore/clients/ApiClientFactory'
|
||||
import { GeminiAPIClient } from '@renderer/aiCore/clients/gemini/GeminiAPIClient'
|
||||
import { OpenAIResponseAPIClient } from '@renderer/aiCore/clients/openai/OpenAIResponseAPIClient'
|
||||
import { GenericChunk } from '@renderer/aiCore/middleware/schemas'
|
||||
import { isVisionModel } from '@renderer/config/models'
|
||||
import { isVisionModel, SYSTEM_MODELS } from '@renderer/config/models'
|
||||
import { Assistant, MCPCallToolResponse, MCPToolResponse, Model, Provider, WebSearchSource } from '@renderer/types'
|
||||
import {
|
||||
Chunk,
|
||||
@ -64,7 +64,8 @@ vi.mock('@renderer/config/models', () => ({
|
||||
name: 'Gemini 2.5 Pro'
|
||||
}
|
||||
},
|
||||
isAnthropicModel: vi.fn(() => false)
|
||||
isAnthropicModel: vi.fn(() => false),
|
||||
SYSTEM_MODELS
|
||||
}))
|
||||
|
||||
// Mock uuid
|
||||
|
||||
Loading…
Reference in New Issue
Block a user