mirror of
https://github.com/ToolJet/ToolJet
synced 2026-05-06 06:48:21 +00:00
* Update size parameter placeholder for image generation Updated the placeholder for the size parameter in the operations.json file to specify valid options based on the selected model (DALL-E 2 or DALL-E 3). - Added size options for DALL-E 2: 256x256, 512x512, 1024x1024 (default: 1024x1024) - Added size options for DALL-E 3: 1024x1024, 1792x1024, 1024x1792 (default: 1024x1024) * Implement model-specific size validation for image generation Added logic to enforce model-specific size validation for DALL-E 2 and DALL-E 3 in the query_operations.ts file. - DALL-E 3 accepts sizes: 1024x1024, 1792x1024, 1024x1792 (default: 1024x1024) - DALL-E 2 accepts sizes: 256x256, 512x512, 1024x1024 (default: 1024x1024) - Introduced a utility function to validate and apply the appropriate size based on the selected model. |
||
|---|---|---|
| .. | ||
| __tests__ | ||
| lib | ||
| .gitignore | ||
| package.json | ||
| README.md | ||
| tsconfig.json | ||
OpenAI
Documentation on: https://docs.tooljet.com/docs/data-sources/openai