Update image handling and add image processing options #627
Annotations
3 errors
build:
packages/core/src/file.ts#L112
There is no error handling for the fetch request. If the request fails, the function will throw an unhandled promise rejection. Consider adding a try-catch block to handle potential errors. 🛠️
|
build:
packages/core/src/image.ts#L19
There is no error handling for the image processing operations. If any of these operations fail (e.g., reading the image, cropping, resizing, etc.), the function will throw an unhandled promise rejection. Consider adding a try-catch block to handle potential errors. 🛠️
|
build:
packages/core/src/runpromptcontext.ts#L245
There is no error handling for the image encoding operation. If the operation fails, the function will throw an unhandled promise rejection. Consider adding a try-catch block to handle potential errors. 🛠️
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
genai-results
Expired
|
22.6 KB |
|