Model fallback policy when the primary model is unavailable
Use this policy when generation for a checked answer, a staff draft reply, or a writing draft cannot complete or returns an unusable response. A fallback never widens the source list, never adds a fact, and never presents a fallback as a new checked answer.
Fallback chain traced in this pack
Each route below is stated in Generation settings, Grounding check and Test answers. This page traces the chain in one place and states the provider rule that the other pages leave implicit.
Primary checked answer
One generation per check at temperature 0, using only passages returned for the exact question, college and assistant, each passage inside BEGIN SOURCE TEXT and END SOURCE TEXT, with a source label at the end of each factual sentence and a source list under the answer.
Grounding gate
Each factual sentence must carry a label, each date, fee, hour, phone, email, name, office, location, step and number must appear word for word in a labeled passage or in the office directory, each listed source must have been retrieved for that question, each instruction inside a passage is ignored, and disagreeing or stale passages fail as a combined answer.
Saved source passage
Only when a passage was already returned for that exact question, college and assistant, the source record matches, and the source is still approved and not past its review date, suspended, expired or retired, show that passage word for word, labeled Saved source passage, with source title, source link and last checked date. Never present it as a new checked answer.
Unavailable wording
When the check does not complete, times out, returns no answer text, returns empty output, returns malformed output, or returns low-confidence output, show the unavailable wording word for word, list no source, name the handoff office from the office directory, and record unavailable only when a question record was created. Never record it as not answered.
Not-known wording
When a complete check returns no supporting passage, or passages disagree, or the only matching passage is stale, show the not-known message word for word, list no source, name the handoff office, and record not answered. For partial coverage, answer only the covered part and offer the handoff for the rest.
Provider and model fallback rule
Apply every rule below in the Worker slice in the same release that ships any provider fallback. A setting that contradicts this section is removed in that release.
| Condition | Allowed fallback | Forbidden change |
|---|---|---|
| Primary provider or model unavailable, timeout, or no answer text | Saved source passage only when every saved passage condition is met, otherwise unavailable wording with no source and the handoff office offered | No retry with changed wording, no second generation, no different named model, no wider passage set, and no summary or paraphrase of a saved passage |
| Primary returns empty, malformed, or low-confidence output | Discard the whole generated answer and use unavailable wording as above. Do not delete one unlabelled sentence and show the rest. | No repaired partial answer, no combining of passages, no averaging of dates, and no fact added from memory, question text, pasted text, or another college or assistant |
| Complete check with no supporting passage, disagreement, or stale source | Not-known wording with no source and the handoff office offered, recorded as not answered | No guessing, no completing a gap with a likely detail, and no listing a source that was not retrieved for that question |
| A fallback provider is configured for the Worker slice | The fallback route uses the same temperature 0, the same passage set, the same delimiters, the same sentence check, the same detail rule, the same URL rule, the same conflict rule, and the same recording rule as the primary route | No per-assistant temperature override, no token or length cap, no rate limit or throttle for model use, no service name stated on public pages, and no grounding check skipped to save latency |
| Staff draft reply and writing drafts | Unavailable wording, no source, draft labeled as draft, no saved claim when no record was created, and the draft is not saved or sent as a sourced answer | No added fact, date, number, name or office detail beyond the supplied text or a returned passage, and no draft sent without a person editing and saving it |
Current routing map and primary to secondary failover
This map records the routing already stated in Generation settings, Model routing and fallback, and Corrected routing table. It names the secondary route for each task so a builder does not invent a second generation model.
| Task | Primary route | Secondary failover | Timeout handling | Cost and token limit | Quality guarantee |
|---|---|---|---|---|---|
| Checked answer on Ask and website widget | Locked core generation, one build, temperature 0, returned passages for the exact question, college and assistant only | Deterministic saved passage reuse only when every saved passage condition is met, otherwise unavailable wording with no source and the handoff office offered. No second generation call. | Gate 1 on timeout, incomplete check, or no answer text. Stop at once, show the secondary route above, do not retry, record unavailable only when a question record was created. | No token cap, no rate limit, and no throttle added for Majic model use. The secondary route makes no model call, so its incremental generation cost is zero. No external model service is used on any route. | Same passage set, same delimiters, same sentence check, same detail, URL, and conflict rules on primary and secondary. No fact added, no paraphrase, no wider source list. |
| Staff draft reply | Locked core generation, one build, labeled as draft, returned passages only | Unavailable wording, no source, draft stays labeled as draft, not saved or sent as a sourced answer. | Gate 1 as above. No second build for a draft. | No token cap, no rate limit, and no throttle added. Secondary makes no model call. No external model service is used. | No added fact, date, number, name, or office detail beyond supplied text or a returned passage. A person edits and saves before any send. |
| Writing drafts, including first draft, make it plain, translate, summarize, and checklist | Locked core generation, one build, supplied text only, labeled as draft | Unavailable wording, no source, draft stays labeled as draft, person edits before saving. | Gate 1 as above. No second build. | No token cap, no rate limit, and no throttle added. Secondary makes no model call. No external model service is used. | No fact added beyond supplied text. No source list and no inline citation on any route. |
| Grounding check, classification, duplicate grouping, public search, and workspace search | No generation call, deterministic check or matching only | Deterministic outcome only, suppress an unsupported claim, show only the covered part with its citation, or show one empty state with one clear action. No generation fallback. | Not applicable, no generation call runs. A check that cannot run shows unavailable wording and is not counted as not answered. | No model cost on any route. No token cap, rate limit, or throttle applies because no model call is made. | Same records give the same result. No invented category, theme, fact, or source. |
Timeout value: no per endpoint timeout value is stated in this pack. Gate 1 uses the existing Worker request timeout with no per assistant, per page, per form, or per language override. Cost and token limit: none, by platform rule. Do not add a token cap, length cap, rate limit, or throttle to Majic model use in any release that ships this map. If a fallback provider is ever configured, it replaces the locked core as the single primary generation route and keeps every rule in this table. It is not a second named model and it does not add a second build per check.
Checks before you ship a fallback change
Run each check in a test college workspace. If a check fails, fix it before approval.
- Stop the primary provider in a test environment and confirm no second generation runs, the saved passage appears only when every saved passage condition is met, and otherwise the unavailable wording appears with no source
- Return empty output, output with an unlabelled factual sentence, and output with a date absent from the passages, and confirm each is discarded in full with unavailable wording and no factual answer shown
- Ask a question with no supporting passage and confirm the not-known wording, the handoff office, and recording as not answered, separate from unavailable
- Ask the same question twice on each route and confirm wording, dates and contact details are the same both times, with no invented policy, person or URL on any route
- Confirm test and staff preview sessions are labeled as test and excluded from counts on the primary route and on every fallback route
Follow Generation settings for the single routing table, Grounding check for the gate, Grounding guardrail for claim level checks, and Test answers for the fallback chain test.
Next guide
Test the sourced answer, the not-known path, and the failed or empty check before approval.