feat: implement priority_weighted_plus_percent pricing algorithm

This commit is contained in:
SmartUp Developer
2026-07-02 20:23:20 +08:00
parent d07ab62772
commit 8746068cd4
6 changed files with 43 additions and 6 deletions
+1 -1
View File
@@ -91,7 +91,7 @@ class BindingCreate(BaseModel):
target_group_name: str = ""
source_groups: list[BindingSourceGroup] = Field(default_factory=list)
percent: float = Field(default=0, ge=0)
algorithm: str = "max_plus_percent"
algorithm: str = "priority_weighted_plus_percent"
enabled: bool = True