The chat GPT API node does not capture expressions in the new release

Describe the issue/error/question

What is the error message (if any)?

Please share the workflow

The Chat GPT API node is not capturing the expression, it sends the actual JSON expression to the API end point

Share the output returned by the last node

The expression should be evaluated and the value should be passed to the API at runtime.

Information on your n8n setup

  • **n8n version: latest
  • Database you’re using (default: SQLite): Postgres
  • Running n8n with the execution process [own(default), main]:own
  • Running n8n via [Docker, npm, n8n.cloud, desktop app]:Docker
2 Likes

Hey @satya_suman,

Welcome to the community :tada:

Thanks for this, just going to look into it now.

1 Like

Ah I found the problem, It was something I introduced. This is only an issue with the new Chat Completion option.

1 Like

Hey @satya_suman,

I have just put in a PR to fix this which can be found below.

3 Likes

Fix got released with new version [email protected] got released which includes the GitHub PR 5609.

2 Likes

Great, I had the same issue. So glad this thread already existed!
I switched my instance to the current beta (0.219.1) and can confirm that it works now!
Thanks, @Jon and @jan! :love_you_gesture:

1 Like

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.