Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(OpenAI Node): Remove preview chatInput parameter for Assistant:Messsage operation #11825

Merged
merged 1 commit into from
Nov 21, 2024

Conversation

OlegIvaniv
Copy link
Contributor

This PR fixes an issue when using expressions for OpenAI Image:Generate action, the prompt field from Assistant:Message operation conflicts with Image:Generate operation's prompt. This conflict emerged after PR #11491 introduced "preview inputs" in disabled mode with promptType set to "auto". As a quick fix, we remove this preview field from Assistant:Message operation as it's visual only.

Summary

Related Linear tickets, Github issues, and Community forum posts

Review / Merge checklist

  • PR title and summary are descriptive. (conventions)
  • Docs updated or follow-up ticket created.
  • Tests included.
  • PR Labeled with release/backport (if the PR is an urgent fix that needs to be backported)

@n8n-assistant n8n-assistant bot added the n8n team Authored by the n8n team label Nov 21, 2024
Copy link

codecov bot commented Nov 21, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

📢 Thoughts on this report? Let us know!

@CharlieKolb CharlieKolb self-requested a review November 21, 2024 13:18
Copy link

cypress bot commented Nov 21, 2024

n8n    Run #8030

Run Properties:  status check passed Passed #8030  •  git commit d6e624723b: 🌳 🖥️ browsers:node18.12.0-chrome107 🤖 OlegIvaniv 🗃️ e2e/*
Project n8n
Branch Review fix/ai-372-no-prompt-specified
Run status status check passed Passed #8030
Run duration 04m 29s
Commit git commit d6e624723b: 🌳 🖥️ browsers:node18.12.0-chrome107 🤖 OlegIvaniv 🗃️ e2e/*
Committer Oleg Ivaniv
View all properties for this run ↗︎

Test results
Tests that failed  Failures 0
Tests that were flaky  Flaky 2
Tests that did not run due to a developer annotating a test with .skip  Pending 0
Tests that did not run due to a failure in a mocha hook  Skipped 0
Tests that passed  Passing 478
View all changes introduced in this branch ↗︎

Copy link
Contributor

✅ All Cypress E2E specs passed

@OlegIvaniv OlegIvaniv merged commit 4dde287 into master Nov 21, 2024
35 checks passed
@OlegIvaniv OlegIvaniv deleted the fix/ai-372-no-prompt-specified branch November 21, 2024 13:31
@rogaha
Copy link

rogaha commented Nov 21, 2024

thanks for the quick fix @OlegIvaniv. I appreciate it. 💯

@cedric-dev01
Copy link

Hi,
I've just tested update 1.68.1, which didn't fix the bug.
Can you reopen the ticket?

@OlegIvaniv
Copy link
Contributor Author

Hi, I've just tested update 1.68.1, which didn't fix the bug. Can you reopen the ticket?

This hasn't been released yet — it'll go in the next minor release 1.70 and a message will be posted in this PR.

@github-actions github-actions bot mentioned this pull request Nov 27, 2024
@janober
Copy link
Member

janober commented Nov 27, 2024

Got released with [email protected]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
n8n team Authored by the n8n team Released
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants