fix: update callers to use NewLLMRouterDefault
ci / test (push) Successful in 1m46s

Use NewLLMRouterDefault(kb) instead of NewLLMRouter(kb) in:
- action/router.go
- cmd/starter/main.go

The NewLLMRouter now requires LLMRouterConfig{} struct.
Backward compat wrapper NewLLMRouterDefault() maintains old API.
This commit is contained in:
Test
2026-09-03 09:41:19 -07:00
parent 0d70da4f31
commit d0f88772d3
4 changed files with 5 additions and 5 deletions
+1 -1
View File
@@ -218,7 +218,7 @@ func runRoutingWorkflow(c client.Client, routeMsg, specFile string, isCron, dryR
logging.Fatal("failed to load knowledge base", logging.Err(err))
}
router, err := routing.NewLLMRouter(kb)
router, err := routing.NewLLMRouterDefault(kb)
if err != nil {
logging.Fatal("failed to create LLM router", logging.Err(err))
}