-
Notifications
You must be signed in to change notification settings - Fork 24
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Parse requests from Copilot #13
Comments
I'm definitely in favor of the ability to type an incoming request shape. I'm agnostic, but not opposed, to the
The only thought to keeping the separate I have is if the consumer chooses an architecture where verification happens earlier and separately from any additional request handling. |
good point on making |
I added one more issue I'm sure a similar function would be useful for function calling, but I get there when I get there. I need to experiment more with |
🎉 This issue has been resolved in version 2.2.0 🎉 The release is available on: Your semantic-release bot 📦🚀 |
Implement a method for parsing incoming requests (from Copilot).
Two reasons
So maybe it should be two low-level methods. The high-level SDK should do the parsing implicitly and give full type intellisense. And ideally would do the payload clean up transparently as well when passing to a model API other than CAPI.
Example
The text was updated successfully, but these errors were encountered: