dexaai / dexter

LLM tools used in production at Dexa
MIT License
75 stars 5 forks source link

problem calling functions in handleUpdate mode ​ #25

Closed dacom-dark-sun closed 7 months ago

dacom-dark-sun commented 8 months ago

When calling the get weather example (and any other function), I would get a response with empty arguments, which would cause an error. To repeat the problem, try to call the function with the handleUpdate argument. It fill be fail. In order to fix the problem, we had to rewrite the build function tool_calls, replacing the deprecated function_call. Anyway, I attach the code - everything works now.

vercel[bot] commented 8 months ago

@dacom-dark-sun is attempting to deploy a commit to the Dexa Team on Vercel.

A member of the Team first needs to authorize it.