mirror of
https://github.com/songquanpeng/one-api.git
synced 2025-11-11 19:03:43 +08:00
feat: support gemini-2.0-flash
This commit is contained in:
@@ -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>
|
||||
</>
|
||||
)}
|
||||
|
||||
@@ -224,4 +224,4 @@ export function getChannelModels(type) {
|
||||
return channelModels[type];
|
||||
}
|
||||
return [];
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user