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 c93426b
Browse filesBrowse the repository at this point in the historyBrowse files
test(evals): assert executor model fallback on primary failure
Add executor-falls-back-to-secondary-model: the primary call rejects, the
Agent block has a fallback model, and the handler serves the answer from
gpt-4o-mini. Asserts providerCalls === 2 and lastRequestModel, and fails
without the fallback row (checked locally: got gpt-4o, run errored).
name: 'falls back to the secondary model when the primary fails',
327
+
category: 'recovery',
328
+
description:
329
+
'The primary model call rejects and the Agent block has a fallback model. The handler must serve the answer from the fallback and the run must complete.',
330
+
workflowInput: {message: 'What is the API rate limit?'},
331
+
agent: {
332
+
model: 'gpt-4o',
333
+
userPrompt: 'What is the API rate limit?',
334
+
fallbackModels: [{model: 'gpt-4o-mini'}],
335
+
},
336
+
providerResponse: [
337
+
{reject: '429 rate limited',content: ''},
338
+
{
339
+
content: 'The API rate limit is 100 requests per minute.',
0 commit comments