diff --git a/src/lib/components/workspace/Models/ModelEditor.svelte b/src/lib/components/workspace/Models/ModelEditor.svelte index 3872c6f88..eb8e4a094 100644 --- a/src/lib/components/workspace/Models/ModelEditor.svelte +++ b/src/lib/components/workspace/Models/ModelEditor.svelte @@ -86,7 +86,7 @@ if (baseModel) { if (baseModel.owned_by === 'openai') { - capabilities.usage = basemodel?.meta?.capabilities?.usage ?? false; + capabilities.usage = baseModel?.meta?.capabilities?.usage ?? false; } else { delete capabilities.usage; }