Skip to content

Conversation

skalade
Copy link
Contributor

@skalade skalade commented May 5, 2024

Looks like in all cases where stream == False the create_completion function was missing the new args.

I was getting this error when querying functionary v2 on llama-cpp-server:

TypeError: create_completion() missing 2 required positional arguments: 'prompt' and 'grammar'

@jeffrey-fong
Copy link
Contributor

Thanks for this! 🙏

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