You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[GH-2609] Fix the thread leak issue in VertexAiTextEmbeddingModel
The PredictionServiceClient was not being closed. Connections are kept open preventing resources from being disposed properly.
Signed-off-by: rmalara <rmalara@interactions.com>
[GH-2609] Fix the thread leak issue in VertexAiTextEmbeddingModel
The PredictionServiceClient was not being closed. Connections are kept open preventing resources from being disposed properly.
Signed-off-by: Rodrigo Malara <rodrigomalara@gmail.com>
Signed-off-by: rmalara <rmalara@interactions.com>
[GH-2609] Fix the thread leak issue in VertexAiTextEmbeddingModel
The PredictionServiceClient was not being closed. Connections are kept open preventing resources from being disposed properly.
Signed-off-by: Rodrigo Malara <rodrigomalara@gmail.com>
Signed-off-by: rmalara <rmalara@interactions.com>
Copy file name to clipboardExpand all lines: models/spring-ai-vertex-ai-embedding/src/main/java/org/springframework/ai/vertexai/embedding/text/VertexAiTextEmbeddingModel.java
+23-22Lines changed: 23 additions & 22 deletions
Original file line number
Diff line number
Diff line change
@@ -128,37 +128,38 @@ public EmbeddingResponse call(EmbeddingRequest request) {
0 commit comments