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

Get false max_token prompt #4225

Open
felixmeritis opened this issue Feb 18, 2025 · 0 comments
Open

Get false max_token prompt #4225

felixmeritis opened this issue Feb 18, 2025 · 0 comments
Assignees
Labels
area:docs Relates to documentation kind:bug Indicates an unexpected problem or unintended behavior "needs-triage"

Comments

@felixmeritis
Copy link

Issue Category

Undocumented feature or missing documentation

Affected Documentation Page URL

No response

Issue Description

I am unclear why the max_token gets triggered as I was being lazy with a very simple small question (don't shame me haha):

Message:
import { useSpring, mix } from 'react-native-redash';

Help me install

eror
"HTTP 400 Bad Request from https://api.anthropic.com/v1/messages {"type":"error","error":{"type":"invalid_request_error","message":"max_tokens: 8192 > 4096, which is the maximum allowed number of output tokens for claude-3-haiku-20240307"}}"

Image

Expected Content

npm install react-native-redash

@felixmeritis felixmeritis added the area:docs Relates to documentation label Feb 18, 2025
@dosubot dosubot bot added the kind:bug Indicates an unexpected problem or unintended behavior label Feb 18, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area:docs Relates to documentation kind:bug Indicates an unexpected problem or unintended behavior "needs-triage"
Projects
None yet
Development

No branches or pull requests

2 participants