MCPcopy Create free account
hub / github.com/OpenAnonymity/oa-chat / onPinnedModelsUpdate

Function onPinnedModelsUpdate

chat/services/modelConfig.js:187–190  ·  view source on GitHub ↗
(callback)

Source from the content-addressed store, hash-verified

185
186/**
187 * Add listener for pinned/disabled model updates.
188 * @param {Function} callback - Called when availability data updates
189 * @returns {Function} Cleanup function to remove listener
190 */
191export function onPinnedModelsUpdate(callback) {
192 eventTarget.addEventListener('update', callback);
193 return () => eventTarget.removeEventListener('update', callback);

Callers 2

initMethod · 0.90
constructorMethod · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected