Skip to content
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

Refactored Function Calling #13476

Merged
merged 1 commit into from
Aug 9, 2024

Commits on Aug 9, 2024

  1. Refactored Function Calling

    * Removed a force unwrap to prevent the app from crashing when the request data cannot be encoded
    * Moved fetch-result handling to separate (throwing) functions to improve readability and ensure that the completion handler is called exactly once
    * For consistency, all calls to `completion` occur on the main thread
    yakovmanshin committed Aug 9, 2024
    Configuration menu
    Copy the full SHA
    aa4fe94 View commit details
    Browse the repository at this point in the history