refactor: Update tenant ID handling across the application
This commit is contained in:
@@ -62,6 +62,9 @@ func (e *batchEmbedder) BatchEmbedWithPool(ctx context.Context, model Embedder,
|
||||
}
|
||||
mu.Lock()
|
||||
for i, text := range texts {
|
||||
if text == nil {
|
||||
continue
|
||||
}
|
||||
text.results = embedding[i]
|
||||
}
|
||||
mu.Unlock()
|
||||
|
||||
Reference in New Issue
Block a user