No default for columns output_token_cost_cents and input_token_cost_cents in table language_models #595
Closed
stephan-buckmaster
started this conversation in
General
Replies: 2 comments
-
Thanks for reporting this. I just merged in PR #606 which fixes it. |
Beta Was this translation helpful? Give feedback.
0 replies
-
Ok good, I just added another pull request, realizing the UI wasn't collecting those values: This also adds a default to the db and validates (presence) in the model |
Beta Was this translation helpful? Give feedback.
0 replies
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.
-
When using my locally hosted model, chats fail with errors because the language_models table has NULLs in the output_token_cost_cents/input_token_cost_cents columns.
This change fixes it:
Beta Was this translation helpful? Give feedback.
All reactions