MCPcopy Create free account
hub / github.com/ChatLab/ChatLab / getFastModelSlot

Function getFastModelSlot

apps/desktop/main/ai/llm/index.ts:252–256  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

250
251/** 获取快速模型 slot */
252export function getFastModelSlot(): import('./model-types').ModelSlot | null {
253 const store = loadConfigStore()
254 if (store.fastModel === null) return null
255 return resolveSlot(store.fastModel, store.configs)
256}
257
258/** 获取快速模型配置(会话摘要),未配置时回退到默认助手 */
259export function getFastModelConfig(): AIServiceConfig | null {

Callers

nothing calls this directly

Calls 2

loadConfigStoreFunction · 0.85
resolveSlotFunction · 0.70

Tested by

no test coverage detected