feat(gen2): add experience skill reflex lifecycle
This commit is contained in:
@@ -13,3 +13,13 @@ func TestStrategyUsesRiskAndCostSignals(t *testing.T) {
|
||||
t.Fatalf("%#v", got)
|
||||
}
|
||||
}
|
||||
|
||||
func TestUnavailableReflexFallsBackThroughSkillToReasoning(t *testing.T) {
|
||||
request := capability.StrategyRequest{PreferLowLatency: true, RequiredQuality: 700}
|
||||
if got := request.SelectEligible(capability.StrategyEligibility{SkillEligible: true}); got.Path != capability.PathSkill {
|
||||
t.Fatalf("expected Skill fallback, got %#v", got)
|
||||
}
|
||||
if got := request.SelectEligible(capability.StrategyEligibility{}); got.Path != capability.PathSmallLocal || !got.Escalate {
|
||||
t.Fatalf("expected reasoning fallback, got %#v", got)
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user