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

feat: add backend url path completion #95

Merged
merged 1 commit into from
May 24, 2024

Conversation

McPatate
Copy link
Member

This PR:

  • adds auto-completion of the path depending on the backend to avoid
  • adds a feature flag to disable this functionality

Closes #80

@McPatate McPatate merged commit d690930 into main May 24, 2024
13 checks passed
@McPatate McPatate deleted the feat/add_backend_url_route_completion branch May 24, 2024 11:16
Copy link

Repository name Source type Average hole completion time (s) Pass percentage
smol-rs/async-executor github 5.449 0.00%
jaemk/cached github 11.402 0.00%
tkaitchuck/constrandom github 16.796 0.00%
tiangolo/fastapi github 29.336 29.95%
null null null null%
huggingface/huggingface_hub github 25.985 40.00%
gcanti/io-ts github 25.029 60.00%
lancedb/lancedb github 111.765 0.00%
mmaitre314/picklescan github 17.170 0.00%
simple local 2.786 0.00%
encode/starlette github 12.353 0.00%
colinhacks/zod github 9.467 0.00%

Note: The "hole completion time" represents the full process of:

  • copying files from the setup cache directory
  • replacing the code from the file with a completion from the model
  • building the project
  • running the tests

McPatate added a commit that referenced this pull request May 24, 2024
McPatate added a commit that referenced this pull request May 24, 2024
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.

When the backend is 'tgi', build_url(...) should append /generate to the URL
1 participant