From db1a71c753b89990078ba3c4ee51eaae41b7b695 Mon Sep 17 00:00:00 2001 From: Timothy Jaeryang Baek Date: Wed, 20 Nov 2024 06:24:09 -0800 Subject: [PATCH] fix: usage capability in model editor --- src/lib/components/workspace/Models/ModelEditor.svelte | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/lib/components/workspace/Models/ModelEditor.svelte b/src/lib/components/workspace/Models/ModelEditor.svelte index 91680d942..8acc01f78 100644 --- a/src/lib/components/workspace/Models/ModelEditor.svelte +++ b/src/lib/components/workspace/Models/ModelEditor.svelte @@ -210,9 +210,6 @@ } }); capabilities = { ...capabilities, ...(model?.meta?.capabilities ?? {}) }; - if (model?.owned_by === 'openai') { - capabilities.usage = false; - } if ('access_control' in model) { accessControl = model.access_control;