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

CompletionArgsBuilder doesn't implement From<&str>? #18

Open
joshua-mo-143 opened this issue Feb 18, 2023 · 0 comments
Open

CompletionArgsBuilder doesn't implement From<&str>? #18

joshua-mo-143 opened this issue Feb 18, 2023 · 0 comments

Comments

@joshua-mo-143
Copy link

joshua-mo-143 commented Feb 18, 2023

Hi there!

I tried using the CompletionArgs builder and tried using it in complete_prompt like in the example but I'm receiving this error:

the trait bound `CompletionArgs: From<&mut CompletionArgsBuilder>` is not satisfied
the trait `From<&str>` is implemented for `CompletionArgs`
required for `&mut CompletionArgsBuilder` to implement `Into<CompletionArgs>`

Is this supposed to be correct?

Thank you for any assistance.

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

No branches or pull requests

1 participant