From 324d30743d263bf761ce6b1b62fe3474fba3b5e3 Mon Sep 17 00:00:00 2001 From: Hellyson Rodrigo Parteka Date: Tue, 23 Sep 2025 11:19:01 -0300 Subject: [PATCH] fix: vector store file poll status --- polling.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/polling.go b/polling.go index 7ee88911..7092fd2d 100644 --- a/polling.go +++ b/polling.go @@ -32,7 +32,7 @@ func (r *VectorStoreFileService) PollStatus(ctx context.Context, vectorStoreID s opts = append(opts, mkPollingOptions(pollIntervalMs)...) opts = append(opts, option.WithResponseInto(&raw)) for { - file, err := r.Get(ctx, fileID, vectorStoreID, opts...) + file, err := r.Get(ctx, vectorStoreID, fileID, opts...) if err != nil { return nil, fmt.Errorf("vector store file poll: received %w", err) }