MCPcopy Index your code
hub / github.com/coder/mux / hasLanguageModelCleanup

Function hasLanguageModelCleanup

src/node/services/languageModelCleanup.ts:47–50  ·  view source on GitHub ↗
(model: LanguageModel)

Source from the content-addressed store, hash-verified

45}
46
47export function hasLanguageModelCleanup(model: LanguageModel): boolean {
48 const modelWithCleanup = model as LanguageModelWithCleanup;
49 return typeof modelWithCleanup[languageModelCleanupSymbol] === "function";
50}
51
52export function runLanguageModelCleanup(model: LanguageModel | undefined): void {
53 if (model === undefined) {

Calls

no outgoing calls

Tested by

no test coverage detected