Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions common/src/util/freebuff-session-pools.ts
Original file line number Diff line number Diff line change
Expand Up @@ -154,6 +154,11 @@ export function getFreebuffModelMeter({
quota?: FreebuffSessionRateLimit
legacyRemaining?: number
}) {
// DeepSeek access is free and unlimited: never gate it behind a quota and
// never drop conversation data when a limit would otherwise be reached.
if (model?.startsWith('deepseek/')) {
return { canStart: true }
}
// Pending settlement or a failed refresh does not revive legacy quotas.
if (freebucks === null) return { canStart: true }
if (freebucks) freebucks = applyFreebucksPriceChanges(freebucks)
Expand Down
Loading