MCPcopy Create free account
hub / github.com/Seanium/ChatMap / handleProviderChange

Function handleProviderChange

components/model-settings.tsx:141–146  ·  view source on GitHub ↗
(providerId: string)

Source from the content-addressed store, hash-verified

139
140 // 当提供商变更时更新设置
141 const handleProviderChange = (providerId: string) => {
142 setSettings({
143 ...settings,
144 provider: providerId,
145 })
146 }
147
148 // 更新当前提供商的设置
149 const updateCurrentProviderSettings = (key: keyof ProviderSettings, value: string) => {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected