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): Always show jsonOutput toggle for OpenAI message operation (no-changelog) #8651

Merged
merged 1 commit into from
Feb 16, 2024

Conversation

OlegIvaniv
Copy link
Contributor

Summary

In the recent Open AI node overhaul, we've added a toggle to support JSON response. But this toggle was only enabled if gpt-3.5-turbo-1106 orgpt-4-1106-preview model was selected. This would prevent the user from enabling the JSON response for the latest models(gpt-3.5-turbo-0125, gpt-4-turbo-preview, etc.). So, instead, we always show this toggle with a hint that it's supported only with the newer models.

Review / Merge checklist

  • PR title and summary are descriptive. Remember, the title automatically goes into the changelog. Use (no-changelog) otherwise. (conventions)
  • Docs updated or follow-up ticket created.
  • Tests included.

    A bug is not considered fixed, unless a test is added to prevent it from happening again.
    A feature is not complete without tests.

@n8n-assistant n8n-assistant bot added the n8n team Authored by the n8n team label Feb 16, 2024
Copy link

cypress bot commented Feb 16, 2024

2 flaky tests on run #4125 ↗︎

0 343 5 0 Flakiness 2

Details:

🌳 🖥️ browsers:node18.12.0-chrome107 🤖 OlegIvaniv 🗃️ e2e/*
Project: n8n Commit: 5ee302891a
Status: Passed Duration: 03:25 💡
Started: Feb 16, 2024 8:03 AM Ended: Feb 16, 2024 8:07 AM
Flakiness  19-execution.cy.ts • 1 flaky test

View Output Video

Test Artifacts
Execution > should test manual workflow stop Test Replay Screenshots Video
Flakiness  38-custom-template-repository.cy.ts • 1 flaky test

View Output Video

Test Artifacts
In-app templates repository > should save template id with the workflow Test Replay Screenshots Video

Review all test suite changes for PR #8651 ↗︎

Copy link
Contributor

✅ All Cypress E2E specs passed

@OlegIvaniv OlegIvaniv merged commit e9af3e7 into master Feb 16, 2024
28 checks passed
@OlegIvaniv OlegIvaniv deleted the always_show_json_response_openai branch February 16, 2024 08:31
netroy pushed a commit that referenced this pull request Feb 16, 2024
@janober
Copy link
Member

janober commented Feb 16, 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.

3 participants