mirror of
https://github.com/Wei-Shaw/claude-relay-service.git
synced 2026-03-30 04:27:20 +00:00
Merge pull request #1049 from PatchouliTC/fix/allow1mContext-edit-not-save
fix: allow1mContext parameter not saved and not add to validated in API key service
This commit is contained in:
@@ -453,6 +453,7 @@ class ApiKeyService {
|
||||
restrictedModels,
|
||||
enableClientRestriction: keyData.enableClientRestriction === 'true',
|
||||
allowedClients,
|
||||
allow1mContext: keyData.allow1mContext === 'true',
|
||||
dailyCostLimit,
|
||||
totalCostLimit,
|
||||
weeklyOpusCostLimit,
|
||||
@@ -1230,6 +1231,7 @@ class ApiKeyService {
|
||||
'restrictedModels',
|
||||
'enableClientRestriction',
|
||||
'allowedClients',
|
||||
'allow1mContext',
|
||||
'dailyCostLimit',
|
||||
'totalCostLimit',
|
||||
'weeklyOpusCostLimit',
|
||||
|
||||
Reference in New Issue
Block a user