feat: support gemini-2.0-flash

This commit is contained in:
Laisky.Cai
2025-02-06 02:34:41 +00:00
parent aa30c37e3c
commit 3e4708b77e
6 changed files with 30 additions and 11 deletions

View File

@@ -58,7 +58,7 @@ function renderType(type) {
case 2:
return (
<Label basic color='olive'>
Consumption
Consumed
</Label>
);
case 3:
@@ -564,7 +564,7 @@ const LogsTable = () => {
{log.completion_tokens ? log.completion_tokens : ''}
</Table.Cell>
<Table.Cell>
{log.quota ? renderQuota(log.quota, t, 6) : ''}
{log.quota ? renderQuota(log.quota, t, 6) : 'free'}
</Table.Cell>
</>
)}

View File

@@ -224,4 +224,4 @@ export function getChannelModels(type) {
return channelModels[type];
}
return [];
}
}