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

NotFoundError: Model not in model_prices_and_context_window.json. You passed model=anthropic/claude-3-haiku-2024... #991

Closed
sentry-io bot opened this issue May 8, 2024 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@sentry-io
Copy link

sentry-io bot commented May 8, 2024

Sentry Issue: PYTHON-FASTAPI-6

NotFoundError: Model not in model_prices_and_context_window.json. You passed model=anthropic/claude-3-haiku-20240307. Register pricing for model - https://docs.litellm.ai/docs/proxy/custom_pricing

  File "services/callbacks/webhook.py", line 56, in on_llm_finish
    ) = cost_per_token(

Task exception was never retrieved
future: <Task finished name='Task-16' coro=<WebhookCallback.on_llm_finish() done, defined at /Users/ismailpelaseyed/Projects/super-research/services/callbacks/webhook.py:45> exception=NotFoundError('Model not in model_prices_and_context_window.json. You passed model=anthropic/claude-3-haiku-20240307. Register pricing for model - https://docs.litellm.ai/docs/proxy/custom_pricing\n')>
@sentry-io sentry-io bot added the bug Something isn't working label May 8, 2024
@homanp homanp closed this as not planned Won't fix, can't repro, duplicate, stale May 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants