Initial vLLM agent strategy
This commit is contained in:
16
app/domain/priorities.py
Normal file
16
app/domain/priorities.py
Normal file
@@ -0,0 +1,16 @@
|
||||
PRIORITY_BOUNTY = 0
|
||||
PRIORITY_PROMOTE = 10
|
||||
PRIORITY_OTHERS_DOWNLOADED = 20
|
||||
PRIORITY_SELF_DOWNLOAD = 30
|
||||
PRIORITY_LOW_CONFIDENCE = 90
|
||||
|
||||
ORIGIN_TO_PRIORITY = {
|
||||
"manual_bounty": PRIORITY_BOUNTY,
|
||||
"bounty": PRIORITY_BOUNTY,
|
||||
"manual_promote": PRIORITY_PROMOTE,
|
||||
"promote": PRIORITY_PROMOTE,
|
||||
"manual_downloaded_by_others": PRIORITY_OTHERS_DOWNLOADED,
|
||||
"downloaded_by_others": PRIORITY_OTHERS_DOWNLOADED,
|
||||
"hf_seed": PRIORITY_SELF_DOWNLOAD,
|
||||
"self_download": PRIORITY_SELF_DOWNLOAD,
|
||||
}
|
||||
Reference in New Issue
Block a user