mirror of
https://github.com/ruvnet/ruflo.git
synced 2026-12-04 06:21:59 +09:00
fix(cli): show the centroid method in the hooks route table
With CLAUDE_FLOW_ROUTER_CENTROID=1 the table printed 'Method: keyword' while Backend said 'nearest centroid'. Co-Authored-By: RuFlo <ruv@ruv.net>
This commit is contained in:
1 parent
3193d99ecb
commit
bc3252133f
1 file changed
+1
-1
@@ -728,7 +728,7 @@ const routeCommand: Command = {
|
||||
if (result.routing) {
|
||||
output.writeln();
|
||||
output.writeln(output.bold('Routing Method'));
|
||||
const methodDisplay = result.routing.method.startsWith('semantic')
|
||||
const methodDisplay = result.routing.method.startsWith('semantic') || result.routing.method === 'centroid'
|
||||
? output.success(`${result.routing.method} (${result.routing.backend || 'semantic'})`)
|
||||
: 'keyword';
|
||||
output.printList([
|
||||
|
||||
Reference in new issue
Block a user