generated from coulomb/repo-seed
Constrain provider vocabulary candidate promotion
This commit is contained in:
@@ -579,7 +579,8 @@ class CandidateGraphGenerator:
|
||||
for fact in facts
|
||||
if not (
|
||||
fact.kind == "llm_provider"
|
||||
and self._utility_relationship(fact) not in {"owned", "facade", "adapter"}
|
||||
and self._utility_relationship(fact)
|
||||
not in {"facade", "adapter"}
|
||||
)
|
||||
),
|
||||
]
|
||||
@@ -1054,7 +1055,7 @@ class CandidateGraphGenerator:
|
||||
return [
|
||||
fact
|
||||
for fact in facts
|
||||
if self._utility_relationship(fact) in {"owned", "facade", "adapter"}
|
||||
if self._utility_relationship(fact) in {"facade", "adapter"}
|
||||
]
|
||||
|
||||
def _utility_relationship(self, fact: ObservedFact) -> str:
|
||||
|
||||
Reference in New Issue
Block a user