PromucFlow_constructor/app/server
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
..
.run
appsmith-git chore: Refactor Codebase to Remove Telemetry from CE (#39421) 2025-02-25 07:48:42 +00:00
appsmith-interfaces fix: connection pool config added for dynamoDB to avoid stale connections (#38940) 2025-02-25 22:03:11 +05:30
appsmith-plugins fix: Bugfix for validation of system messages in open ai vision command. (#39462) 2025-02-27 11:42:27 +05:30
appsmith-server fix: Add default RTS port in CE (#39444) 2025-02-26 08:06:32 +00:00
envs test: Enable server tests for the PRs with base PG branch (#33429) 2024-05-22 15:55:20 +05:30
mongo-seed
reactive-caching feat: Restrict cron execution for single pod in clustered environment (#39171) 2025-02-25 17:20:11 +05:30
scripts chore: Revert "chore: delete redundant files" (#35022) 2024-07-18 16:18:10 +05:30
.gitignore
build.sh test: Enable server tests for the PRs with base PG branch (#33429) 2024-05-22 15:55:20 +05:30
buildpack-run.sh
pom.xml chore: Added capability of running ITs on maven (#38354) 2024-12-25 02:08:49 +05:30
Procfile
README.md
system.properties

Appsmith Server

This is the server-side repository for the Appsmith framework.

For details on setting up your development machine, please refer to this Setup Guide.