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

check_model() uses rlang::arg_match() #22

Merged
merged 1 commit into from
Mar 12, 2024
Merged

check_model() uses rlang::arg_match() #22

merged 1 commit into from
Mar 12, 2024

Conversation

romainfrancois
Copy link
Contributor

> mistral.ai::chat("hello", model = "fzzfz")
Error in `mistral.ai::chat()`:
! `model` must be one of "open-mistral-7b", "mistral-tiny-2312", "mistral-tiny", "open-mixtral-8x7b", "mistral-small-2312",
  "mistral-small", "mistral-small-2402", "mistral-small-latest", "mistral-medium-latest", "mistral-medium-2312", "mistral-medium",
  "mistral-large-latest", "mistral-large-2402", or "mistral-embed", not "fzzfz".
Run `rlang::last_trace()` to see where the error occurred.

@romainfrancois romainfrancois merged commit 61f9ada into main Mar 12, 2024
6 checks passed
@romainfrancois romainfrancois deleted the check_model branch March 12, 2024 10:22
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.

1 participant