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

Function createSafetySettings

outdated/gemini/gemini.ts:844–852  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

842}
843
844function createSafetySettings(): any[] {
845 return [
846 'HARM_CATEGORY_HATE_SPEECH',
847 'HARM_CATEGORY_DANGEROUS_CONTENT',
848 'HARM_CATEGORY_HARASSMENT',
849 'HARM_CATEGORY_SEXUALLY_EXPLICIT',
850 'HARM_CATEGORY_CIVIC_INTEGRITY'
851 ].map(category => ({ category, threshold: 'BLOCK_NONE' }));
852}
853
854function markdownToHtml(text: string): string {
855 let result = text;

Callers 1

callGeminiChatFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected