| 1 | <html> |
| 2 | <head> |
| 3 | <title>API Keys</title> |
| 4 | </head> |
| 5 | |
| 6 | <body> |
| 7 | <div x-data> |
| 8 | <template x-if="$store.settings.settings"> |
| 9 | <div> |
| 10 | <div class="section-title">API Keys</div> |
| 11 | <div class="section-description"> |
| 12 | Store provider credentials used by Agent Zero. Add multiple keys with commas when you want round-robin rotation. |
| 13 | </div> |
| 14 | |
| 15 | <template x-for="provider in $store.settings.apiKeyProviders" :key="provider.value"> |
| 16 | <div class="field"> |
| 17 | <div class="field-label"> |
| 18 | <div class="field-title" x-text="provider.label"></div> |
| 19 | </div> |
| 20 | <div class="field-control"> |
| 21 | <input |
| 22 | type="text" |
| 23 | x-model="$store.settings.settings.api_keys[provider.value]" |
| 24 | autocomplete="off" |
| 25 | /> |
| 26 | </div> |
| 27 | </div> |
| 28 | </template> |
| 29 | </div> |
| 30 | </template> |
| 31 | </div> |
| 32 | </body> |
| 33 | </html> |