pve
This commit is contained in:
parent
368625972c
commit
866a9f5527
@ -17,7 +17,7 @@ class PveGeminiMode {
|
|||||||
error_log(json_encode($strs));
|
error_log(json_encode($strs));
|
||||||
for ($i = count($strs) - 1; $i >= 0; --$i) {
|
for ($i = count($strs) - 1; $i >= 0; --$i) {
|
||||||
if ($score > $strs[$i]) {
|
if ($score > $strs[$i]) {
|
||||||
return min($i + 1, 3);
|
return count($strs) - $i ;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
return 0;
|
return 0;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user