This commit is contained in:
Timothy Jaeryang Baek 2024-11-16 04:43:10 -08:00
parent 932de8f1e2
commit facb4fdf6b

View File

@ -86,7 +86,7 @@
if (baseModel) { if (baseModel) {
if (baseModel.owned_by === 'openai') { if (baseModel.owned_by === 'openai') {
capabilities.usage = basemodel?.meta?.capabilities?.usage ?? false; capabilities.usage = baseModel?.meta?.capabilities?.usage ?? false;
} else { } else {
delete capabilities.usage; delete capabilities.usage;
} }