refactor: remove dead file task-id-validator.ts and unused isModelAvailable from model-name-matcher
This commit is contained in:
@@ -83,9 +83,3 @@ export function fuzzyMatchModel(
|
||||
return result
|
||||
}
|
||||
|
||||
export function isModelAvailable(
|
||||
targetModel: string,
|
||||
availableModels: Set<string>,
|
||||
): boolean {
|
||||
return fuzzyMatchModel(targetModel, availableModels) !== null
|
||||
}
|
||||
|
||||
@@ -1,6 +0,0 @@
|
||||
const TASK_ID_PATTERN = /^T-[A-Za-z0-9-]+$/
|
||||
|
||||
export function parseTaskId(id: string): string | null {
|
||||
if (!TASK_ID_PATTERN.test(id)) return null
|
||||
return id
|
||||
}
|
||||
Reference in New Issue
Block a user