lunary-ai / lunary-js

Lunary AI JS Client (analytics and logging for AI apps) 📈
https://lunary.ai/docs/js
7 stars 1 forks source link

fix: OpenAI type inconsistency #17

Closed 7HR4IZ3 closed 3 months ago

7HR4IZ3 commented 3 months ago

By using the Stream.tee function builtin the openai module when possible, completion.create now returns the same output regardless of if wrapped with lunary or not.