agents-relay 2.0.19 → 2.0.21
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/execution-routing.js +12 -5
- package/package.json +1 -1
|
@@ -145,11 +145,18 @@ export async function routeExecution(workers, requirements, options = {}) {
|
|
|
145
145
|
profile: route.model.profile ?? null,
|
|
146
146
|
reasoning: route.model.reasoning ?? null,
|
|
147
147
|
resourceHealthy: route.model.resourceHealthy ?? null,
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
148
|
+
code_plan: {
|
|
149
|
+
five_hour: route.model.resourceWindows?.fiveHour ? {
|
|
150
|
+
remaining_percent: route.model.resourceWindows.fiveHour.remainingPercent ?? null,
|
|
151
|
+
reset_at: route.model.resourceWindows.fiveHour.resetAt ?? null,
|
|
152
|
+
reset_in_minutes: route.model.resourceWindows.fiveHour.resetInMinutes ?? null,
|
|
153
|
+
} : null,
|
|
154
|
+
weekly: route.model.resourceWindows?.weekly ? {
|
|
155
|
+
remaining_percent: route.model.resourceWindows.weekly.remainingPercent ?? null,
|
|
156
|
+
reset_at: route.model.resourceWindows.weekly.resetAt ?? null,
|
|
157
|
+
reset_in_minutes: route.model.resourceWindows.weekly.resetInMinutes ?? null,
|
|
158
|
+
} : null,
|
|
159
|
+
},
|
|
153
160
|
},
|
|
154
161
|
})),
|
|
155
162
|
}));
|