updates on the ai agents and time series prediction and updates on the api to
This commit is contained in:
@@ -466,8 +466,17 @@ func TestSkillsWithNoDataSourceShipDisabled(t *testing.T) {
|
||||
}
|
||||
}
|
||||
|
||||
// Only notify_riders has an executor in the console. Every other console write
|
||||
// must say REVIEW ONLY, or Agent Studio would advertise an action that cannot run.
|
||||
// Four console verbs have executors now: notify_riders, alert_low_battery_rider,
|
||||
// assign_riders and trigger_auto_dispatch (the last two share the batch-assign
|
||||
// solver behind POST /admin/bookings/batch-assign). Every console write that
|
||||
// still has none must say REVIEW ONLY, or Agent Studio would advertise an
|
||||
// action that cannot run.
|
||||
//
|
||||
// The invariant reads Implementedat, not a list kept here: a tool whose
|
||||
// Implementedat still points into lib/assistant/skills/ has no executor, and
|
||||
// one pointing at lib/assistant/agent/actions.js does. That is why wiring an
|
||||
// executor means moving Implementedat — the test cannot be satisfied by
|
||||
// editing the description alone.
|
||||
func TestConsoleWritesWithoutExecutorSayReviewOnly(t *testing.T) {
|
||||
for _, tl := range SeedTools {
|
||||
if !strings.HasPrefix(tl.Implementedat, consoleSrc+"lib/assistant/skills/") && !strings.Contains(tl.Implementedat, "(no executor)") {
|
||||
|
||||
Reference in New Issue
Block a user