File size: 996 Bytes
430354e
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
<html>
  <head>
    <title>API Keys</title>
  </head>

  <body>
    <div x-data>
      <template x-if="$store.settings.settings">
        <div>
          <div class="section-title">API Keys</div>
          <div class="section-description">
            Store provider credentials used by Agent Zero. Add multiple keys with commas when you want round-robin rotation.
          </div>

          <template x-for="provider in $store.settings.apiKeyProviders" :key="provider.value">
            <div class="field">
              <div class="field-label">
                <div class="field-title" x-text="provider.label"></div>
              </div>
              <div class="field-control">
                <input
                  type="text"
                  x-model="$store.settings.settings.api_keys[provider.value]"
                  autocomplete="off"
                />
              </div>
            </div>
          </template>
        </div>
      </template>
    </div>
  </body>
</html>