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

Method getDefaultConfig

ai/ai.ts:1545–1566  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1543
1544 private getDefaultConfig(): DB {
1545 return {
1546 configs: {},
1547 currentChatTag: "",
1548 currentChatModel: "",
1549 currentSearchTag: "",
1550 currentSearchModel: "",
1551 currentImageTag: "",
1552 currentImageModel: "",
1553 currentVideoTag: "",
1554 currentVideoModel: "",
1555 imagePreview: true,
1556 videoPreview: true,
1557 videoAudio: false,
1558 videoDuration: 5,
1559 prompt: "",
1560 collapse: true,
1561 timeout: 30,
1562 telegraphToken: "",
1563 telegraph: { enabled: false, limit: 5, list: [] },
1564 };
1565 }
1566
1567 static getInstance(): Promise<ConfigManager> {
1568 if (ConfigManager.instancePromise) {
1569 return ConfigManager.instancePromise;

Callers 2

constructorMethod · 0.95
initMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected