mdwiltfong / doc-inspector

1 stars 0 forks source link

Changed one line in routes/threads/POST-message.js #6

Closed Jamesllllllllll closed 11 months ago

Jamesllllllllll commented 11 months ago

Not sure how it will work when you ggt sync - if it will pull my change that I made in the Gadget UI.

I changed line 19 in routes/threads/POST-message.js

It was using external_id when adding the message to the thread in OpenAI, but it actually needed the openAIId.

Response:

Object { message: "Message added" } // Woo!
Jamesllllllllll commented 11 months ago

So funny, I just re-read our convo from last night, and the error with the external_id was because it had the OpenAI assistant ID. I feel my the above change is just shifting the issue, because you did have the external_id as the assistant ID.

ANYWAY, it works. 😄

mdwiltfong commented 11 months ago

Thanks!