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

Updated code for querying completions #56

Merged
merged 6 commits into from
Jan 10, 2024
Merged

Updated code for querying completions #56

merged 6 commits into from
Jan 10, 2024

Conversation

rlisahuang
Copy link

  • Updated the code for getting code completions following the OpenAI API changes, using the GPT 3.5 model
  • Added local dev instructions given the code changes

Note: the changes have only been tested on the local build. The necessary changes need to be populated properly in leap/browser/remote/LeapUtils.ts (see the added TODO).

@KasraF
Copy link

KasraF commented Jan 10, 2024

This code is still a bit buggy (e.g. it doesn't seem to be handling whitespace around the cursor correctly) and will require more refactoring before the web version works as well. But it builds and runs locally, so let's call it good enough to merge into the main leap branch before continuing debug and development there?

@KasraF KasraF merged commit 265def4 into leap Jan 10, 2024
0 of 2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants