FileUploadResponse(
self,
path: str,
error: FileOperationError | None = None
)| Name | Type |
|---|---|
| path | str |
| error | FileOperationError | None |
Result of a single file upload operation.
The response is designed to allow partial success in batch operations. The errors are standardized using FileOperationError literals for certain recoverable conditions for use cases that involve LLMs performing file operations.