fix: Resolve Internal Server Error when action=delete in vector_store_action_op by converting the Elasticsearch response to a serializable format

This commit is contained in:
caozouying.czy 2025-11-25 23:35:32 +08:00
parent 3fb2f82019
commit 57c7b77928

View file

@ -99,4 +99,4 @@ class VectorStoreActionOp(BaseAsyncOp):
else:
raise ValueError(f"invalid action={action}")
self.context.response.metadata["action_result"] = result
self.context.response.metadata["action_result"] = str(result)