File size: 2,466 Bytes
f0743f4
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
import React from 'react';
import { Skeleton } from '@librechat/client';

export default function AgentPanelSkeleton() {
  return (
    <div className="h-auto bg-white dark:bg-transparent">
      {/* Avatar */}
      <div className="mb-4">
        <div className="flex w-full items-center justify-center gap-4">
          <Skeleton className="relative h-20 w-20 rounded-full" />
        </div>
        {/* Name */}
        <Skeleton className="mb-2 h-5 w-1/5 rounded-lg" />
        <Skeleton className="mb-1 h-[40px] w-full rounded-lg" />
        <Skeleton className="h-3 w-1/4 rounded-lg" />
      </div>

      {/* Description */}
      <div className="mb-4">
        <Skeleton className="mb-2 h-5 w-1/4 rounded-lg" />
        <Skeleton className="h-[40px] w-full rounded-lg" />
      </div>

      {/* Instructions */}
      <div className="mb-6">
        <Skeleton className="mb-2 h-5 w-1/4 rounded-lg" />
        <Skeleton className="h-[100px] w-full rounded-lg" />
      </div>

      {/* Model and Provider */}
      <div className="mb-6">
        <Skeleton className="mb-2 h-5 w-1/4 rounded-lg" />
        <Skeleton className="h-[40px] w-full rounded-lg" />
      </div>

      {/* Capabilities */}
      <div className="mb-6">
        <Skeleton className="mb-2 h-5 w-1/4 rounded-lg" />
        <Skeleton className="mb-2 h-5 w-36 rounded-lg" />
        <Skeleton className="mb-4 h-[35px] w-full rounded-lg" />
        <Skeleton className="mb-2 h-5 w-24 rounded-lg" />
        <Skeleton className="h-[35px] w-full rounded-lg" />
      </div>

      {/* Tools & Actions */}
      <div className="mb-6">
        <Skeleton className="mb-2 h-5 w-1/4 rounded-lg" />
        <Skeleton className="mb-2 h-[35px] w-full rounded-lg" />
        <Skeleton className="mb-2 h-[35px] w-full rounded-lg" />
        <div className="flex space-x-2">
          <Skeleton className="h-8 w-1/2 rounded-lg" />
          <Skeleton className="h-8 w-1/2 rounded-lg" />
        </div>
      </div>

      {/* Admin Settings */}
      <div className="mb-6">
        <Skeleton className="h-[35px] w-full rounded-lg" />
      </div>

      {/* Bottom Buttons */}
      <div className="flex items-center justify-end gap-2">
        <Skeleton className="h-[35px] w-16 rounded-lg" />
        <Skeleton className="h-[35px] w-16 rounded-lg" />
        <Skeleton className="h-[35px] w-16 rounded-lg" />
        <Skeleton className="h-[35px] w-full rounded-lg" />
      </div>
    </div>
  );
}