Skip to content

Commit 92ab57d

Browse files
committed
docs(providers): clarify discovery contains predicates
1 parent 4e8e7d5 commit 92ab57d

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

src/providers/registry.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,11 +27,16 @@ export type ProviderModelDiscoveryPredicate =
2727
}
2828
| {
2929
path: readonly string[];
30+
/**
31+
* A string-valued upstream target uses substring matching; an array-valued target uses
32+
* exact element matching. Use `equalsAny` when the string must match in full.
33+
*/
3034
containsAny: readonly ProviderModelDiscoveryScalar[];
3135
caseInsensitive?: boolean;
3236
}
3337
| {
3438
path: readonly string[];
39+
/** Uses the same string-substring and array-element semantics as `containsAny`. */
3540
containsAll: readonly ProviderModelDiscoveryScalar[];
3641
caseInsensitive?: boolean;
3742
};

0 commit comments

Comments
 (0)