mirror of
https://github.com/BaaRai/ARTEX.git
synced 2026-11-13 11:40:53 +08:00
fix(test): escalation test to the ctx-aware hooks.current signature
Seam fix after merging #111 (escalation) with #114 (ctx-threaded hooks.current): the escalation test predates the signature change and kept compiling on its own branch, so the merge left main red.
This commit is contained in:
@@ -27,7 +27,7 @@ func TestEscalationAdvancesAfterConsecutiveFailures(t *testing.T) {
|
||||
nextProfile := int64(8)
|
||||
exhaustCalls := 0
|
||||
hooks := taskLLMStreamHooks{
|
||||
current: func() (taskLLMSelection, error) {
|
||||
current: func(ctx context.Context) (taskLLMSelection, error) {
|
||||
return taskLLMSelection{task: &Task{ID: "1"}, profileID: profile, revision: 1, provider: prov}, nil
|
||||
},
|
||||
exhaust: func(sel taskLLMSelection, cause error) (db.TaskLLMTransition, error) {
|
||||
|
||||
Reference in New Issue
Block a user