MCPcopy Create free account
hub / github.com/TeleBoxOrg/TeleBox_Plugins / getConfig

Function getConfig

outdated/gemini/gemini.ts:840–842  ·  view source on GitHub ↗
(key: string, defaultValue?: string)

Source from the content-addressed store, hash-verified

838}
839
840function getConfig(key: string, defaultValue?: string): string {
841 return ConfigManager.get(key, defaultValue || DEFAULT_CONFIG[key] || "");
842}
843
844function createSafetySettings(): any[] {
845 return [

Callers 7

getGeminiClientFunction · 0.70
callGeminiChatFunction · 0.70
formatResponseFunction · 0.70
handleImageFunction · 0.70
handleQuestionWithAudioFunction · 0.70
handleSettingsFunction · 0.70
handleTTSVoiceFunction · 0.70

Calls 1

getMethod · 0.45

Tested by

no test coverage detected