Portkey-AI / portkey-node-sdk

Build reliable, secure, and production-ready AI apps easily.
https://portkey.ai/docs
22 stars 8 forks source link

Type response in PortkeyClient because of issues with inferred type #103

Closed narengogi closed 1 month ago

narengogi commented 1 month ago

I had an issue with the inferred type of the post method inside the Portkey class because of the overloads in the create method that it invokes, No major change, only added type for the response in the interface