MCPcopy Create free account
hub / github.com/scriptscat/scriptcat / constructor

Method constructor

src/app/repo/agent_model.ts:9–12  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

7// 使用 chrome.storage.local 存储 Agent 模型配置
8export class AgentModelRepo extends Repo<AgentModelConfig> {
9 constructor() {
10 super("agent_model:");
11 this.enableCache();
12 }
13
14 // 获取所有模型(排除 __default__ / __summary__ 等内部 key)
15 async listModels(): Promise<AgentModelConfig[]> {

Callers

nothing calls this directly

Calls 1

enableCacheMethod · 0.80

Tested by

no test coverage detected