feat: add classifier routing strategy with LLM complexity rating

This commit is contained in:
2026-05-05 10:40:26 -04:00
parent d1f7a57f58
commit d345f8c41d
2 changed files with 53 additions and 7 deletions
-7
View File
@@ -1,7 +1,6 @@
package router
import (
"context"
"encoding/json"
"strings"
@@ -65,9 +64,3 @@ func routeHeuristic(group db.ModelGroup, targets []string, userMessage string) (
Reason: reason,
}, nil
}
// routeClassifier is a stub — real implementation in classifier.go (Task 3).
// Falls back to heuristic routing for now.
func routeClassifier(ctx context.Context, classify ClassifierFunc, group db.ModelGroup, targets []string, userMessage string) (*Decision, error) {
return routeHeuristic(group, targets, userMessage)
}