You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit fa70786
Browse filesBrowse the repository at this point in the historyBrowse files
description: 'Routing algorithm for this request. "capability" calls a small judge model to rate how demanding the task is, then picks the efficient or capable candidate. "stage" reads the tool-result history (errors, repeated failures, edits landing) and calls the judge only when those signals are undecided. "auto" is "stage" without the judge call. "random" picks one candidate at random. "composite" keeps the tier chosen on the last human turn and re-evaluates tool turns with the stage signals. "passthrough" serves the eligible candidates in the order OpenRouter already ranked them, with no routing decision and no judge call. Omit this field to use the platform default, capability.'
26625
+
enum:
26626
+
- 'capability'
26627
+
- 'stage'
26628
+
- 'auto'
26629
+
- 'random'
26630
+
- 'composite'
26631
+
- 'passthrough'
26632
+
type: 'string'
26633
+
id:
26634
+
enum:
26635
+
- 'switchyard-router'
26636
+
type: 'string'
26637
+
required:
26638
+
- 'id'
26639
+
type: 'object'
26612
26640
TaskClassificationItem:
26613
26641
example:
26614
26642
category_token_share: 0.48
@@ -36645,13 +36673,13 @@ paths:
36645
36673
example:
36646
36674
error:
36647
36675
code: 409
36648
-
message: 'The intern is not in a state that allows this operation'
36676
+
message: 'Another operation holds the intern, retry once it settles'
36649
36677
metadata:
36650
36678
reason: 'intern_busy'
36651
-
retryable: false
36679
+
retryable: true
36652
36680
schema:
36653
36681
$ref: '#/components/schemas/InternLifecycleError'
36654
-
description: 'The intern is not in a state that allows this operation.'
36682
+
description: 'The intern is not in a state that allows this operation. `metadata.reason` says whether to try again: `intern_busy` means another operation still holds the intern and carries `metadata.retryable: true`, so the same request may be sent again once it settles. A duplicate delete of an intern already being deleted is not a conflict and is accepted with 202.'
36655
36683
'413':
36656
36684
content:
36657
36685
application/json:
@@ -37293,13 +37321,13 @@ paths:
37293
37321
example:
37294
37322
error:
37295
37323
code: 409
37296
-
message: 'The intern is not in a state that allows this operation'
37324
+
message: 'Another operation holds the intern, retry once it settles'
37297
37325
metadata:
37298
37326
reason: 'intern_busy'
37299
-
retryable: false
37327
+
retryable: true
37300
37328
schema:
37301
37329
$ref: '#/components/schemas/InternLifecycleError'
37302
-
description: 'The intern is not in a state that allows this operation.'
37330
+
description: 'The intern is not in a state that allows this operation. `metadata.reason` says whether to try again: `intern_busy` means another operation still holds the intern and carries `metadata.retryable: true`, so the same request may be sent again once it settles. A duplicate delete of an intern already being deleted is not a conflict and is accepted with 202.'
37303
37331
'413':
37304
37332
content:
37305
37333
application/json:
@@ -37445,13 +37473,13 @@ paths:
37445
37473
example:
37446
37474
error:
37447
37475
code: 409
37448
-
message: 'The intern is not in a state that allows this operation'
37476
+
message: 'Another operation holds the intern, retry once it settles'
37449
37477
metadata:
37450
37478
reason: 'intern_busy'
37451
-
retryable: false
37479
+
retryable: true
37452
37480
schema:
37453
37481
$ref: '#/components/schemas/InternLifecycleError'
37454
-
description: 'The intern is not in a state that allows this operation.'
37482
+
description: 'The intern is not in a state that allows this operation. `metadata.reason` says whether to try again: `intern_busy` means another operation still holds the intern and carries `metadata.retryable: true`, so the same request may be sent again once it settles. A duplicate delete of an intern already being deleted is not a conflict and is accepted with 202.'
0 commit comments