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 Chat Model Node): Restore default model value #12745

Merged

Conversation

OlegIvaniv
Copy link
Contributor

Summary

In #12634 we changed the model field to use resourceLocator parameter type in a new version of the node. But we didn't update the default.value to match the behaviour from previous version(using gpt-4o-mini as default)

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)

Copy link
Contributor

@jeanpaul jeanpaul left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for this!

Copy link

codecov bot commented Jan 21, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

📢 Thoughts on this report? Let us know!

Copy link

cypress bot commented Jan 21, 2025

n8n    Run #8862

Run Properties:  status check failed Failed #8862  •  git commit ff5e394a9f: 🌳 enable-task-runner-by-default 🖥️ browsers:node18.12.0-chrome107 🤖 schedule ...
Project n8n
Branch Review enable-task-runner-by-default
Run status status check failed Failed #8862
Run duration 04m 40s
Commit git commit ff5e394a9f: 🌳 enable-task-runner-by-default 🖥️ browsers:node18.12.0-chrome107 🤖 schedule ...
Committer Tomi Turtiainen
View all properties for this run ↗︎

Test results
Tests that failed  Failures 2
Tests that were flaky  Flaky 0
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 332
View all changes introduced in this branch ↗︎

Tests for review

Failed  39-projects.cy.ts • 1 failed test

View Output Video

Test Artifacts
Projects > when starting from scratch > should move resources between projects Test Replay Screenshots Video
Failed  12-canvas-actions.cy.ts • 1 failed test

View Output Video

Test Artifacts
Canvas Actions > Node hover actions > should execute node Test Replay Screenshots Video
Failed  9-expression-editor-modal.cy.ts • 0 failed tests

View Output

Test Artifacts
Failed  18-user-management.cy.ts • 0 failed tests

View Output

Test Artifacts
Failed  25-stickies.cy.ts • 0 failed tests

View Output

Test Artifacts

The first 5 failed specs are shown, see all 45 specs in Cypress Cloud.

Copy link
Contributor

✅ All Cypress E2E specs passed

@n8n-assistant n8n-assistant bot added the n8n team Authored by the n8n team label Jan 21, 2025
@OlegIvaniv OlegIvaniv merged commit d1b6692 into master Jan 21, 2025
37 checks passed
@OlegIvaniv OlegIvaniv deleted the ai-614-openai-chat-model-node-missing-default-model-value branch January 21, 2025 11:01
@github-actions github-actions bot mentioned this pull request Jan 22, 2025
@janober
Copy link
Member

janober commented Jan 22, 2025

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