lucgagan / completions

Node.js SDK for interacting with OpenAI Chat API.
https://ray.run/
MIT License
45 stars 8 forks source link

fix multiple function invocation #12

Open floomby opened 1 year ago

floomby commented 1 year ago

The language model can call multiple functions before returning a user facing response. This makes it so that this is handled correctly.

lucgagan commented 1 year ago

Would need a test for this

floomby commented 1 year ago

Ok, I added a test. It seems important to fix this, because I would consider the current behavior a bug.