fix: simplify connector matching - CEO auto-detects and uses available connectors silently
- Remove all user-facing messaging about connector selection - CEO reads available connectors and assigns automatically - No special-case logic for single vs multiple connectors - Matching is invisible to the user
This commit is contained in:
1 parent
6f13d324e4
commit
07a0d54f77
2 files changed
+3
-26
No files matched your search
@@ -140,13 +140,10 @@ export function matchConnector(input: ConnectorMatchInput): ConnectorMatchResult
|
||||
|
||||
// recommended should always be set if readySet.size > 0, but guard
|
||||
if (recommended) {
|
||||
const onlyOneReady = readySet.size === 1;
|
||||
return {
|
||||
recommendedConnectorId: recommended,
|
||||
fallbackConnectorId: fallback,
|
||||
reason: onlyOneReady
|
||||
? `Only available connector: ${recommended}. Assign to all agents.`
|
||||
: `Best match for ${taskType} tasks: ${CONNECTOR_STRENGTHS[recommended]}`,
|
||||
reason: `Selected ${recommended} for ${taskType} tasks.`,
|
||||
};
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user