feat: support gemini-2.0-flash

- Enhance model support by adding new entries and refining checks for system instruction compatibility.
- Update logging display behavior and adjust default quotas for better user experience.
- Revamp pricing structures in the billing system to reflect current model values and deprecate outdated entries.
- Streamline code by replacing hardcoded values with configurations for maintainability.
This commit is contained in:
Laisky.Cai
2025-02-06 03:08:41 +00:00
parent d2903b673d
commit d70335ecea
7 changed files with 71 additions and 27 deletions

View File

@@ -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 [];
}
}