You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The function updateUserContext(name, role, text) has the following order of params, but in the function call when using tools within the gpt-service, you have the ordering as this.updateUserContext('function', functionName, functionResponse); which is (role, name, text). This causes all of the tool fns to throw since it's expecting a role type of function but you are passing in the function name instead.
The text was updated successfully, but these errors were encountered:
call-gpt/services/gpt-service.js
Line 111 in 9968ade
The function
updateUserContext(name, role, text)
has the following order of params, but in the function call when using tools within the gpt-service, you have the ordering asthis.updateUserContext('function', functionName, functionResponse);
which is(role, name, text)
. This causes all of the tool fns to throw since it's expecting a role type offunction
but you are passing in the function name instead.The text was updated successfully, but these errors were encountered: