chore(lint): enable unnecessary type parameter rule

This commit is contained in:
Peter Steinberger
2026-04-18 18:28:20 +01:00
parent 630f2bcabe
commit df525b90f2
94 changed files with 186 additions and 152 deletions

View File

@@ -124,8 +124,6 @@ export async function runMemoryEmbeddingRetryLoop<T>(params: {
}
}
export function buildTextEmbeddingInputs<T extends MemoryEmbeddingChunk>(
chunks: T[],
): MemoryEmbeddingInput[] {
export function buildTextEmbeddingInputs(chunks: MemoryEmbeddingChunk[]): MemoryEmbeddingInput[] {
return chunks.map((chunk) => chunk.embeddingInput ?? { text: chunk.text });
}