fix: align pi rust p1 official features
This commit is contained in:
@@ -1905,7 +1905,10 @@ pub(crate) fn load_effective_ai_runtime_policy(
|
||||
.into_iter()
|
||||
.filter_map(|entry| normalize_model_ref(Some(&default_provider), &entry.id))
|
||||
.collect::<Vec<_>>();
|
||||
if !allowed_models.iter().any(|model| model == FREEFIRST_PI_MODEL) {
|
||||
if !allowed_models
|
||||
.iter()
|
||||
.any(|model| model == FREEFIRST_PI_MODEL)
|
||||
{
|
||||
allowed_models.push(FREEFIRST_PI_MODEL.to_string());
|
||||
}
|
||||
if !allowed_models.iter().any(|model| model == DEFAULT_PI_MODEL) {
|
||||
|
||||
Reference in New Issue
Block a user