Pricing information hardcoded in project #5602
jinglebiscuits
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I was looking through the project to see how the pricing information is fetched, and I think it isn't. It's all hardcoded in packages/ai/scripts/generate-models.ts. Is this common? Does openai, anthropic, ... not expose endpoints to fetch model pricing?
Beta Was this translation helpful? Give feedback.
All reactions