Closed Graywing13 closed 10 months ago
in generateTrip.js, chatgpt or other constraints may return an error string.
generateTrip.js
It's better to directly throw errors because it is more direct if we throw the error instead of having the downstream parse the string as an error.
in
generateTrip.js
, chatgpt or other constraints may return an error string.It's better to directly throw errors because it is more direct if we throw the error instead of having the downstream parse the string as an error.