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

Deal with unmapped models when requesting costs #6

Open
johann-petrak opened this issue Jan 17, 2025 · 0 comments
Open

Deal with unmapped models when requesting costs #6

johann-petrak opened this issue Jan 17, 2025 · 0 comments

Comments

@johann-petrak
Copy link
Member

If a model is not mapped but we call with return_cost we have these options:

  • as now: the call will result in an exception and not succeed
  • silently check if the cost is available and if not, disable cost retrieval
  • as now, but make it easy to check if cost is available, e.g. return_cost=llms.cost_available(llmalias)
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

1 participant