Skip to content

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

@joshua-mo-143

Description

@joshua-mo-143

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions