mirror of
https://github.com/lordmathis/llamactl.git
synced 2025-12-22 17:14:22 +00:00
Remove 'can_infer' field
This commit is contained in:
@@ -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>
|
||||
))}
|
||||
|
||||
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user