Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/21st-dev/1code
/ setConnectionMethod
Function
setConnectionMethod
src/main/lib/analytics.ts:105–107 ·
view source on GitHub ↗
(method: string)
Source
from the content-addressed store, hash-verified
103
* Values:
"claude-subscription"
|
"api-key"
|
"custom-model"
104
*/
105
export
function
setConnectionMethod(method: string) {
106
cachedConnectionMethod = method
107
}
108
109
/**
110
* Initialize PostHog
for
main process
Callers
1
claude.ts
File · 0.90
Calls
no outgoing calls
Tested by
no test coverage detected