PromucFlow_constructor/app/server/appsmith-plugins
Diljit 7b2607835b
fix: Bugfix for validation of system messages in open ai vision command. (#39462)
## Description
The systemMessages field doesn't have a default value in the action
configuration when a new OpenAI Vision command query is created. Because
systemMessages is not a mandatory field, we can omit the null check.
This pull request removes the unnecessary null check that was added.

Fixes https://github.com/appsmithorg/appsmith/issues/39395

## Automation

/ok-to-test tags="@tag.All"

### 🔍 Cypress test results
<!-- This is an auto-generated comment: Cypress test results  -->
> [!IMPORTANT]
> 🟣 🟣 🟣 Your tests are running.
> Tests running at:
<https://github.com/appsmithorg/appsmith/actions/runs/13559573780>
> Commit: 0635d47845106232fd1867a4889975aa2c6802e9
> Workflow: `PR Automation test suite`
> Tags: `@tag.All`
> Spec: ``
> <hr>Thu, 27 Feb 2025 05:28:27 UTC
<!-- end of auto-generated comment: Cypress test results  -->


## Communication
Should the DevRel and Marketing teams inform users about this change?
- [ ] Yes
- [ ] No


<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->

## Summary by CodeRabbit

- **Bug Fixes**
- Improved the stability of message handling by ensuring that system
messages are only processed when available, preventing potential errors
when data is missing.

<!-- end of auto-generated comment: release notes by coderabbit.ai -->
2025-02-27 11:42:27 +05:30
..
amazons3Plugin chore: Remove style from editor and setting config (#38756) 2025-01-23 13:29:03 +05:30
anthropicPlugin chore: Remove style from editor and setting config (#38756) 2025-01-23 13:29:03 +05:30
appsmithAiPlugin fix: rename the header from organizationId to tenantId (#39385) 2025-02-21 05:27:20 +05:30
arangoDBPlugin chore: Query Editor full width option (#37138) 2024-10-31 15:20:48 +05:30
awsLambdaPlugin fix: logger-not-working-in-plugins (#36231) 2024-09-17 10:47:58 +01:00
databricksPlugin chore: bump com.databricks:databricks-jdbc from 2.6.36 to 2.6.40 in /app/server/appsmith-plugins/databricksPlugin (#38245) 2025-02-10 13:49:57 +05:30
dynamoPlugin fix: connection pool config added for dynamoDB to avoid stale connections (#38940) 2025-02-25 22:03:11 +05:30
elasticSearchPlugin fix: logger-not-working-in-plugins (#36231) 2024-09-17 10:47:58 +01:00
firestorePlugin chore: Remove style from editor and setting config (#38756) 2025-01-23 13:29:03 +05:30
googleAiPlugin chore: Remove style from editor and setting config (#38756) 2025-01-23 13:29:03 +05:30
googleSheetsPlugin chore: Remove style from editor and setting config (#38756) 2025-01-23 13:29:03 +05:30
graphqlPlugin chore: Upgrading spring to 3.3.3 to resolve vulnerable dependencies (#36266) 2024-10-01 22:12:56 +05:30
jsPlugin chore: Applied Spotless formatter (#25173) 2023-07-07 00:43:11 +05:30
mongoPlugin chore: Remove style from editor and setting config (#38756) 2025-01-23 13:29:03 +05:30
mssqlPlugin fix: Scheduling the heavy database ops on bounded elastic thread pool for Ms-sql (#39176) 2025-02-11 20:24:31 +05:30
mysqlPlugin chore: Updating mysql test dependencies in pom.xml (#39146) 2025-02-12 16:04:10 +05:30
openAiPlugin fix: Bugfix for validation of system messages in open ai vision command. (#39462) 2025-02-27 11:42:27 +05:30
oraclePlugin chore: Remove style from editor and setting config (#38756) 2025-01-23 13:29:03 +05:30
postgresPlugin chore: Remove style from editor and setting config (#38756) 2025-01-23 13:29:03 +05:30
redisPlugin chore: Query Editor full width option (#37138) 2024-10-31 15:20:48 +05:30
redshiftPlugin chore: add spotless for sql files for postgres (#37016) 2024-11-09 11:21:30 +05:30
restApiPlugin chore: Upgrading spring to 3.3.3 to resolve vulnerable dependencies (#36266) 2024-10-01 22:12:56 +05:30
saasPlugin fix: logger-not-working-in-plugins (#36231) 2024-09-17 10:47:58 +01:00
smtpPlugin fix: SMTP datasource should work without username and password (#37319) 2024-11-15 12:32:41 +05:30
snowflakePlugin chore: bump net.snowflake:snowflake-jdbc from 3.20.0 to 3.22.0 in /app/server/appsmith-plugins/snowflakePlugin (#38998) 2025-02-10 13:06:04 +05:30
pom.xml chore: added comment to avoid merge conflicts (#38211) 2024-12-17 20:21:28 +05:30