Open JensWalter opened 3 months ago
I don't think it worth a new issue only because it's just another enum, so I report it here. Another code I saw and which is not specced yet: "invalid_file".
{
"id": "...",
"object": "vector_store.file",
"usage_bytes": 0,
"created_at": 1722298943,
"vector_store_id": "...",
"status": "failed",
"last_error": {
"code": "invalid_file",
"message": "The file could not be parsed because it is too large."
},
"chunking_strategy": {
"type": "static",
"static": {
"max_chunk_size_tokens": 800,
"chunk_overlap_tokens": 400
}
}
}
I tried listing my vector store file and received an error not part of the spec.
Doing the API call manually I saw that the status code returned is not yet included in the openAPI yaml.
the response.
So I added the status code to the enum.