HocusPocus
HocusPocus•5mo ago

HocusPocus - hey guys, I want to integrate the ...

hey guys, I want to integrate the FF clonable ai assistent template from buildship with the buildship remix template. The buildship test workflow works fine, however as soon as I test the api call in FF it gives an error. I can't wrap my head around this as I am following every step 😦
No description
Solution:
hey there @HocusPocus, as the error message indicates, the user prompt is missing. The template expects the user prompt to come in from the HTTP Request Body, via the message property. Could you check if that's the property name, and if not could you try renaming the property to message, and see if that works?...
Jump to solution
3 Replies
Solution
nithinrdy
nithinrdy•5mo ago
hey there @HocusPocus, as the error message indicates, the user prompt is missing. The template expects the user prompt to come in from the HTTP Request Body, via the message property. Could you check if that's the property name, and if not could you try renaming the property to message, and see if that works?
HocusPocus
HocusPocus•5mo ago
it works and the user prompt is set to body.message
No description
HocusPocus
HocusPocus•5mo ago
But when going to FF is does not give a ok call Oh I now see what you meant, indeed it was not set to message but rather content which gave the error response. Thanks a lot!