MCPcopy Create free account
hub / github.com/TechJeeper/Printventory / normalizeTag

Function normalizeTag

aitagging.js:78–88  ·  view source on GitHub ↗
(tag)

Source from the content-addressed store, hash-verified

76 return 'https://api.openai.com/v1';
77}
78
79function defaultModelForService(service) {
80 if (service === 'gemini') return 'gemini-2.5-flash';
81 if (service === 'claude') return 'claude-haiku-4-5';
82 return 'gpt-4o-mini';
83}
84
85// Helper function to introduce a delay
86function delay(ms) {
87 return new Promise(resolve => setTimeout(resolve, ms));
88}
89
90// Normalize a tag (lowercase, trim, remove special chars)
91function normalizeTag(tag) {

Callers 2

deduplicateTagsFunction · 0.85
parseTagsFromResponseFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected