mirror of
https://gitee.com/mateos/mateclaw.git
synced 2026-09-13 11:13:43 +08:00
Covers 15 upstream commits (private mirror → public): Multi-provider failover (RFC-009): - PR-0: extract ChatModelBuilder strategy seam - PR-1a: AvailableProviderPool data structure - PR-1b: startup provider liveness probe + 4 protocol strategies - PR-1c: wire AvailableProviderPool into runtime chat-model selection - PR-1d: provider pool REST endpoint + UI badges - PR-1e: manual reprobe trigger + auto-reprobe on provider config change - PR-3: per-agent provider preferences (agents can override the org-wide fallback chain) Wiki subsystem (RFC-029~033): - Relation model, resilient background jobs, light-weight processing path, retrieval enhancement, frontend redesign (single landing commit) - Follow-up fixes: null guards + stats query + i18n polish, move WikiProcessingJobMapper to repository/ for @MapperScan, align implementation with RFC-029~031 spec - Copy pass: replace "富化 / enrich" wording with clearer "链接 / link" - Style: switch enrich/repair buttons to @element-plus/icons-vue
18 lines
462 B
Java
18 lines
462 B
Java
package vip.mate.wiki.job;
|
|
|
|
/**
|
|
* RFC-031: Thrown when a wiki processing step encounters a hard/fatal
|
|
* model error that warrants fallback to a different model.
|
|
*/
|
|
public class WikiHardModelException extends RuntimeException {
|
|
|
|
private final String errorCode;
|
|
|
|
public WikiHardModelException(String errorCode, String message) {
|
|
super(message);
|
|
this.errorCode = errorCode;
|
|
}
|
|
|
|
public String getErrorCode() { return errorCode; }
|
|
}
|