Skip to content

prompt API fails for mathematical calculations: "Uncaught NotSupportedError: The model attempted to output text in an untested language, and was prevented from doing so." #61

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

Closed
alkshendra opened this issue Dec 2, 2024 · 1 comment

Comments

@alkshendra
Copy link

The calculator example mentioned in the README doesn't work.

I get the following error when I prompt to calculate anything: "Uncaught NotSupportedError: The model attempted to output text in an untested language, and was prevented from doing so."

How do I get around this?

image
@domenic
Copy link
Collaborator

domenic commented Dec 2, 2024

This appears to be a bug report against a specific implementation of this API (probably Chrome's), and not against the specification. As such, it should be reported against that implementation's bug tracker. For Chrome, that's https://crbug.new/.

@domenic domenic closed this as completed Dec 2, 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

No branches or pull requests

2 participants