feat: show whisper-own in ai-logs filter and badge
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Sonnet 4.6
parent
fc54ec992b
commit
816c6d27c8
@@ -5756,7 +5756,7 @@ HTML;
|
||||
}
|
||||
|
||||
$providerOptions = '';
|
||||
foreach (['', 'openai', 'gemini', 'claude'] as $p) {
|
||||
foreach (['', 'openai', 'gemini', 'claude', 'whisper-own'] as $p) {
|
||||
$label = $p === '' ? 'Todos' : ucfirst($p);
|
||||
$sel = $provider === $p ? ' selected' : '';
|
||||
$providerOptions .= "<option value=\"{$p}\"{$sel}>{$label}</option>";
|
||||
@@ -5770,6 +5770,7 @@ HTML;
|
||||
'openai' => 'background:#10a37f;color:#fff',
|
||||
'gemini' => 'background:#4285f4;color:#fff',
|
||||
'claude' => 'background:#d97706;color:#fff',
|
||||
'whisper-own' => 'background:#7c3aed;color:#fff',
|
||||
default => 'background:#6b7280;color:#fff',
|
||||
};
|
||||
$tok = ($r['tokens_in'] ?? null) !== null
|
||||
|
||||
Reference in New Issue
Block a user