Remove 'can_infer' field

This commit is contained in:
2025-12-06 18:07:01 +01:00
parent c37c1b8161
commit 99927160c2
7 changed files with 12 additions and 24 deletions

View File

@@ -249,11 +249,7 @@ function ApiKeysSection() {
<tr key={perm.instance_id} className="border-b">
<td className="py-2">{perm.instance_name}</td>
<td className="py-2">
{perm.can_infer ? (
<Check className="h-4 w-4 text-green-600" />
) : (
<X className="h-4 w-4 text-red-600" />
)}
<Check className="h-4 w-4 text-green-600" />
</td>
</tr>
))}

View File

@@ -23,7 +23,6 @@ export interface CreateKeyRequest {
export interface InstancePermission {
InstanceID: number
CanInfer: boolean
}
export interface CreateKeyResponse extends ApiKey {
@@ -33,5 +32,4 @@ export interface CreateKeyResponse extends ApiKey {
export interface KeyPermissionResponse {
instance_id: number
instance_name: string
can_infer: boolean
}