MCPcopy Create free account
hub / github.com/experdot/pointer / copyLLMConfig

Function copyLLMConfig

src/renderer/src/services/settingsService.ts:90–101  ·  view source on GitHub ↗
(config: LLMConfig)

Source from the content-addressed store, hash-verified

88}
89
90export function copyLLMConfig(config: LLMConfig): LLMConfig {
91 return createLLMConfig(
92 {
93 type: 'item',
94 name: `${config.name} 副本`,
95 baseUrl: config.baseUrl,
96 apiKey: config.apiKey,
97 modelName: config.modelName
98 },
99 config.id
100 )
101}
102
103export function createLLMConfigFolder(
104 name?: string,

Callers

nothing calls this directly

Calls 1

createLLMConfigFunction · 0.85

Tested by

no test coverage detected