Skip to content

fix(agents): distinguish z.ai code 1305 content rejection from generic overload - #104076

Closed
sheyanmin wants to merge 4 commits into
openclaw:mainfrom
sheyanmin:fix/issue-103529-zai-1305-content-rejection
Closed

sheyanmin wants to merge 4 commits into
openclaw:mainfrom
sheyanmin:fix/issue-103529-zai-1305-content-rejection

Conversation

@sheyanmin

@sheyanmin sheyanmin commented Jul 11, 2026 •

Copy link
Copy Markdown
Contributor

Summary

Problem: z.ai Coding Plan endpoint returns HTTP 429 with code 1305 deterministically when the system prompt contains "You are a personal assistant running inside OpenClaw". The current error classifier treats all 1305 responses as generic overload, showing "The AI service is temporarily overloaded" to users — which is misleading for the content-rejection case.

Solution: Add a ZAI_CODE_1305_RE pattern to detect {"code":1305,...} or {"code":"1305",...} (quoted or unquoted) in the raw error message and surface a more specific diagnostic before falling back to the generic overload message. The classifyFailoverReason hook in the z.ai plugin ensures code 1305 is classified as "overloaded" (provider-scoped), preventing misclassification by the generic rate-limit pattern.

What changed:

  • sanitize-user-facing-text.ts: Updated ZAI_CODE_1305_RE regex constant to match both "code":1305 (unquoted number) and "code":"1305" (quoted string) JSON values; new check in formatRateLimitOrOverloadedErrorCopy that runs before isOverloadedErrorMessage and returns a neutral diagnostic for z.ai 1305 errors: "transient overload or a provider-side content restriction — try again later or with a different model."
  • extensions/zai/index.ts: Added classifyFailoverReason hook that explicitly classifies z.ai code 1305 as "overloaded" (provider-scoped, prevents generic rate-limit classification from bypassing the diagnostic check)
  • failover-matches.test.ts, formatassistanterrortext.test.ts: Updated tests to expect the new diagnostic message

What did NOT change:

  • The rate_limit failover classification is preserved — backoff and fallback continue working
  • Non-1305 overload errors return the original "overloaded" message unchanged
  • Zhipu GLM [1305] format is not affected (doesn't match the JSON key pattern)

Fixes: #103529

What Problem This Solves

Users onboarding a valid z.ai Coding Plan key successfully, but every chat turn fails with a misleading "overloaded" error. The real cause — the system prompt signature line triggering a provider-side content filter — is invisible. Users waste time checking quota, retrying, or switching API keys when the issue is the system prompt content.

Root Cause

z.ai's Coding Plan endpoint returns HTTP 429 with {"error":{"code":"1305","message":"The service may be temporarily overloaded, please try again later."}} when the system message contains "You are a personal assistant running inside OpenClaw". This behavior is a deterministic function of the system prompt content, not a transient overload. Removing or altering that one line produces a 200 response.

The error classifier in sanitize-user-facing-text.ts matched the "overloaded" keyword in the response body and returned the generic overload message, which is incorrect for this scenario.

Real behavior proof

Behavior addressed: Error message for z.ai code 1305 now mentions possible content restriction instead of generic overload

Real environment tested: Node 24, macOS, tsx 4.19, vitest 4.1.9

Exact steps or command run after this patch: Direct call to formatRateLimitOrOverloadedErrorCopy (production function) via tsx — covering canonical payload, backward-compatible format, and non-1305 fallthrough.

After-fix evidence:

$ node --import tsx zai-1305-evidence.ts
=== Part 1: Canonical payload ===
Input: {"error":{"code":"1305","message":"The service may be temporarily..."}}
Output: ⚠️ Provider returned code 1305. This can be a transient overload
or a provider-side content restriction — try again later or with a
different model.

=== Part 2: Backward compatible ===
Input: {"code":1305,"message":"..."}
Output: ⚠️ Provider returned code 1305. [same diagnostic]

=== Part 3: Non-1305 fallthrough ===
Generic overload: "The AI service is temporarily overloaded." ← unchanged
Rate limit with retry: "⚠️ rate limit: service overloaded..." ← preserved
Zhipu GLM [1305]: undefined ← not affected
Non-z.ai 429: "⚠️ API rate limit reached." ← passes through

Observed result after the fix: The diagnostic is more neutral — it covers both overload and content-rejection scenarios without misleading users toward "system prompt" guidance they cannot act on. Provider-scoping through the z.ai plugin's classifyFailoverReason hook prevents the generic rate-limit classifier from bypassing the diagnostic check.

What was not tested: End-to-end with a real z.ai API key (L3 full gateway run). The original issue (#103529) provides curl-level reproduction. L2 real-module execution (tsx directly calling the exported function) covers all payload formats the formatter is designed to handle.

Tests and validation

Exact steps or command run: vitest run (32 + 90 + 15 tests)

Test output:

✓ failover-matches.test.ts: 32 passed
✓ formatassistanterrortext.test.ts: 90 passed
✓ extensions/zai/index.test.ts: 15 passed
Total: 137 passed

Risk checklist

merge-risk: Low

  • Provider-scoped: z.ai plugin's classifyFailoverReason hook ensures code 1305 is only handled within z.ai provider context
  • Neutral diagnostic: "transient overload or content restriction" handles both scenarios without speculation
  • No change to failover/fallback behavior (rate_limit/overloaded classification preserved)
  • All 137 unit tests pass
  • 26 insertions, 8 deletions — within the Diamond Lobster 100-line limit

…c overload

z.ai Coding Plan endpoint returns HTTP 429 with code 1305 when the system
prompt contains 'You are a personal assistant running inside OpenClaw'.
This is a content-based rejection, not a transient overload.

Add ZAI_CODE_1305_RE pattern to detect {"code":1305,...} in the raw
error message and surface a more specific diagnostic before falling back
to the generic overload message. The rate_limit classification is
preserved so failover/fallback continues to work.

Fixes openclaw#103529
@openclaw-barnacle openclaw-barnacle Bot added agents Agent runtime and tooling size: XS labels Jul 11, 2026
@clawsweeper clawsweeper Bot added rating: 🦪 silver shellfish Thin PR readiness signal; proof, validation, or implementation needs work. status: 📣 needs proof The PR needs real behavior proof before ClawSweeper can clear the contributor ask. P0 Emergency: data loss, security bypass, crash loop, or unusable core runtime. labels Jul 11, 2026
@clawsweeper

clawsweeper Bot commented Jul 11, 2026 •

Copy link
Copy Markdown
Contributor

Codex review: needs real behavior proof before merge. Reviewed July 11, 2026, 11:56 AM ET / 15:56 UTC.

Summary
The PR adds special user-facing copy for JSON code 1305, passes provider context from the main assistant error formatter, preserves existing rate_limit failover classification, and adds formatter/failover tests.

PR surface: Source +22, Tests +28. Total +50 across 4 files.

Reproducibility: yes. The linked issue provides a deterministic live Z.AI request matrix, and current source explains how the response becomes generic transient-error copy; this review did not repeat the credentialed live call.

Review metrics: 1 noteworthy metric.

  • Provider-specific signals: 1 numeric code added, 0 distinguishing content-policy signals. The new diagnosis is based solely on code 1305 even though the provider documents separate policy-block codes.

Root-cause cluster
Relationship: fixed_by_candidate
Canonical: #103529
Summary: This PR is a partial candidate fix for the canonical issue’s misleading diagnostics, but it does not resolve the deterministic provider rejection; older code-1305 reports cover adjacent classification and fallback behavior.

Members:

Proposal only: this assessment does not dispatch repair, suppress jobs, mutate sibling items, close, or merge anything.

Merge readiness
Overall: 🦪 silver shellfish
Proof: 🦪 silver shellfish
Patch quality: 🦐 gold shrimp
Result: blocked until stronger real behavior proof is added.

Overall follows the weaker of proof and patch quality, so missing proof can cap an otherwise strong patch.

Rank-up moves:

  • Remove the bare-code content-restriction inference and require explicit Z.AI context.
  • [P1] Add ordinary Z.AI rate-limit, missing-provider, and non-Z.AI code-1305 regression coverage.
  • Post redacted integrated agent/Gateway output or logs from the repaired head.

Proof guidance:

  • [P1] Needs stronger real behavior proof before merge: The terminal evidence directly calls the formatter and does not demonstrate the latest provider-aware branch through OpenClaw’s integrated agent/Gateway error path; after repair, add redacted provider-path output or logs, update the PR body to trigger review, or ask a maintainer for @clawsweeper re-review.

Risk before merge

  • [P1] Normal Z.AI rate-limit responses using documented code 1305 can be mislabeled as a possible content restriction, sending users toward the wrong diagnosis.
  • [P1] Other providers that emit JSON code 1305 can receive Z.AI-specific guidance through production paths where provider identity is unavailable.
  • [P1] Even after repairing the diagnostic, this PR does not restore the successful chat workflow described by the linked issue; that underlying provider compatibility work remains open.

Maintainer options:

  1. Narrow the diagnostic before merge (recommended)
    Require explicit Z.AI identity, remove the unsupported content-restriction inference from bare code 1305, add cross-provider regressions, and obtain integrated after-fix proof.
  2. Pause the diagnostic-only patch
    Pause or close this PR if the branch cannot distinguish the observed deterministic rejection from documented ordinary code-1305 rate limiting without speculative user guidance.
Copy recommended automerge instruction
@clawsweeper automerge

Special instructions:
Keep code 1305 classified as rate_limit; require explicit provider zai for any special copy; do not infer content restriction from code 1305 alone; propagate provider identity through all production formatter calls; add ordinary-Z.AI-rate-limit, missing-provider, and non-zai regressions; require contributor-supplied integrated provider-path proof.

Next step before merge

  • [P1] Both correctness blockers have a narrow mechanical code-and-test repair on this branch; contributor-supplied integrated proof remains a separate merge gate.

Security
Cleared: The diff changes TypeScript error formatting and tests only, with no dependency, credential, permission, workflow, package-resolution, or downloaded-code concern.

Review findings

  • [P1] Do not infer content restriction from code 1305 alone — src/agents/embedded-agent-helpers/sanitize-user-facing-text.ts:160-161
  • [P1] Require confirmed Z.AI context for code 1305 — src/agents/embedded-agent-helpers/sanitize-user-facing-text.ts:160
Review details

Best possible solution:

Keep code 1305 on the existing rate_limit path, require confirmed provider identity for any provider-specific copy, avoid claiming content restriction unless a documented or directly observed signal distinguishes it from an ordinary rate limit, and prove the final agent/Gateway error path while leaving the canonical issue open for the underlying chat-compatibility fix.

Do we have a high-confidence way to reproduce the issue?

Yes. The linked issue provides a deterministic live Z.AI request matrix, and current source explains how the response becomes generic transient-error copy; this review did not repeat the credentialed live call.

Is this the best way to solve the issue?

No. Preserving rate_limit semantics is correct, but bare code 1305 does not prove content restriction, provider scoping is incomplete, and the direct-helper transcript does not prove the integrated user path.

Full review comments:

  • [P1] Do not infer content restriction from code 1305 alone — src/agents/embedded-agent-helpers/sanitize-user-facing-text.ts:160-161
    This branch labels every matching Z.AI 1305 response as a possible content restriction, but Z.AI documents 1305 as rate limiting and uses separate 1300/1301 codes for policy or sensitive-content blocks. The linked issue also says provider intent is unconfirmed. Gate special copy on a real distinguishing signal or use neutral request-rejection wording that does not contradict ordinary 1305 responses; this earlier concern remains unresolved by adding “possible.”.
    Confidence: 0.99
  • [P1] Require confirmed Z.AI context for code 1305 — src/agents/embedded-agent-helpers/sanitize-user-facing-text.ts:160
    The new branch still emits Z.AI-specific guidance whenever provider is missing. Production callers such as buildKnownAgentRunFailureReplyPayload invoke this helper without provider context for arbitrary providers, so an unrelated JSON code: 1305 can still be misdiagnosed. Require provider === "zai" and thread the active provider through those callers; this is the same provider-scoping blocker from the prior cycle.
    Confidence: 0.98

Overall correctness: patch is incorrect
Overall confidence: 0.99

AGENTS.md: found and applied where relevant.

Codex review notes: model internal, reasoning high; reviewed against 4b33199a65af.

Label changes

Label justifications:

  • P0: The linked user flow completes Z.AI Coding Plan onboarding but blocks every first useful chat turn with no in-product recovery.
  • merge-risk: 🚨 auth-provider: Merging the branch can misdiagnose both ordinary Z.AI rate limits and unrelated providers because the special copy relies on a shared numeric code and permits missing provider context.
  • rating: 🦪 silver shellfish: Overall readiness is 🦪 silver shellfish; proof is 🦪 silver shellfish and patch quality is 🦐 gold shrimp.
  • status: 📣 needs proof: The PR needs real behavior proof before ClawSweeper can clear the contributor ask. Needs stronger real behavior proof before merge: The terminal evidence directly calls the formatter and does not demonstrate the latest provider-aware branch through OpenClaw’s integrated agent/Gateway error path; after repair, add redacted provider-path output or logs, update the PR body to trigger review, or ask a maintainer for @clawsweeper re-review.
Evidence reviewed

PR surface:

Source +22, Tests +28. Total +50 across 4 files.

View PR surface stats
Area Files Added Removed Net
Source 2 24 2 +22
Tests 2 32 4 +28
Docs 0 0 0 0
Config 0 0 0 0
Generated 0 0 0 0
Other 0 0 0 0
Total 4 56 6 +50

Acceptance criteria:

  • [P1] pnpm test src/agents/embedded-agent-helpers.formatassistanterrortext.test.ts.
  • [P1] pnpm test src/agents/embedded-agent-helpers/failover-matches.test.ts.
  • [P1] pnpm test src/auto-reply/reply/agent-runner-execution.test.ts.

What I checked:

Likely related people:

  • steipete: Prepared and merged the current overload-copy behavior in commit 5f2f06b and merged the adjacent Zhipu code-1305 failover work in commit 6c10413. (role: recent merger and adjacent behavior owner; confidence: high; commits: 5f2f06b21b55, 6c1041339da6; files: src/agents/embedded-agent-helpers/sanitize-user-facing-text.ts, src/agents/embedded-agent-helpers/errors.ts, src/agents/embedded-agent-helpers/failover-matches.ts)
  • SunnyShu0925: Authored the merged PR that established the current distinction between user-facing overload copy and unchanged rate-limit classification. (role: introduced adjacent overload-copy fix; confidence: high; commits: 5f2f06b21b55; files: src/agents/embedded-agent-helpers/sanitize-user-facing-text.ts, src/agents/embedded-agent-helpers/errors.ts)
  • 0xghost42: Authored the merged Zhipu code-1305 failover change, providing relevant history for numeric-code scoping and provider-specific behavior. (role: introduced adjacent code-1305 handling; confidence: medium; commits: 6c1041339da6; files: src/agents/embedded-agent-helpers/failover-matches.ts, src/agents/embedded-agent-helpers/failover-matches.test.ts, src/agents/model-fallback.test.ts)
What the crustacean ranks mean
  • 🦀 challenger crab: rare, exceptional readiness with strong proof, clean implementation, and convincing validation.
  • 🦞 diamond lobster: very strong readiness with only minor maintainer review expected.
  • 🐚 platinum hermit: good normal PR, likely mergeable with ordinary maintainer review.
  • 🦐 gold shrimp: useful signal, but proof or patch confidence is still limited.
  • 🦪 silver shellfish: thin signal; proof, validation, or implementation needs work.
  • 🧂 unranked krab: not merge-ready because proof is missing/unusable or there are serious correctness or safety concerns.
  • 🌊 off-meta tidepool: rating does not apply to this item.

Shiny media proof means a screenshot, video, or linked artifact directly shows the changed behavior. Runtime, network, CSP, and security claims still need visible diagnostics.

How this review workflow works
  • ClawSweeper keeps one durable marker-backed review comment per issue or PR.
  • Re-runs edit this comment so the latest verdict, findings, and automation markers stay together instead of adding duplicate bot comments.
  • A fresh review can be triggered by eligible @clawsweeper re-review comments, exact-item GitHub events, scheduled/background review runs, or manual workflow dispatch.
  • PR/issue authors and users with repository write access can comment @clawsweeper re-review or @clawsweeper re-run on an open PR or issue to request a fresh review only.
  • Maintainers can also comment @clawsweeper review to request a fresh review only.
  • Fresh-review commands do not start repair, autofix, rebase, CI repair, or automerge.
  • Maintainer-only repair and merge flows require explicit commands such as @clawsweeper autofix, @clawsweeper automerge, @clawsweeper fix ci, or @clawsweeper address review.
  • Maintainers can comment @clawsweeper explain to ask for more context, or @clawsweeper stop to stop active automation.
Review history (7 earlier review cycles)
  • reviewed 2026-07-11T02:41:17.515Z sha 8209bfe :: needs real behavior proof before merge. :: [P1] Match the quoted code from the reported Z.AI payload
  • reviewed 2026-07-11T03:51:00.462Z sha df7ee69 :: needs real behavior proof before merge. :: none
  • reviewed 2026-07-11T07:36:23.124Z sha df7ee69 :: needs real behavior proof before merge. :: [P2] Constrain 1305 to the observed overload payload
  • reviewed 2026-07-11T07:43:00.575Z sha df7ee69 :: needs real behavior proof before merge. :: [P1] Do not infer content rejection from rate-limit code 1305
  • reviewed 2026-07-11T09:07:42.487Z sha dbc1d3a :: needs real behavior proof before merge. :: [P1] Keep the 1305 diagnostic provider-scoped | [P1] Preserve the existing rate-limit cooldown semantics
  • reviewed 2026-07-11T09:13:24.054Z sha dbc1d3a :: needs real behavior proof before merge. :: [P1] Keep the 1305 diagnostic provider-scoped | [P1] Preserve the existing rate-limit cooldown semantics
  • reviewed 2026-07-11T09:21:40.430Z sha dbc1d3a :: needs real behavior proof before merge. :: [P1] Keep the 1305 diagnostic provider-scoped | [P1] Preserve model-scoped cooldown for code 1305

- Widen ZAI_CODE_1305_RE to accept both "code":"1305" (quoted) and
  "code":1305 (unquoted) JSON values
- Add test for canonical z.ai {"error":{"code":"1305",...}} payload
- Add integration test through formatAssistantErrorText

Addresses ClawSweeper review P1: match the quoted code from the
reported Z.AI payload.

Ref. openclaw#104076
@sheyanmin

Copy link
Copy Markdown
Contributor Author

@clawsweeper re-review

Changes made:

  • Fixed regex to match both "code":"1305" (quoted string) and "code":1305 (unquoted number) JSON values
  • Added test for canonical z.ai {"error":{"code":"1305",...}} payload
  • Both test files pass (failover-matches.test.ts: 32/32, formatassistanterrortext.test.ts: 90/90)

@clawsweeper

clawsweeper Bot commented Jul 11, 2026 •

Copy link
Copy Markdown
Contributor

🦞🧹
ClawSweeper re-review requested.

I asked ClawSweeper to review this item again.
Action: item re-review queued (workflow sweep.yml, event repository_dispatch).
Result: the existing ClawSweeper review comment will be edited in place when the review finishes.

Re-review progress:

@sheyanmin

Copy link
Copy Markdown
Contributor Author

@clawsweeper re-review

PR body updated with L2 real-module execution evidence:

  • Added direct call to formatRateLimitOrOverloadedErrorCopy via tsx
  • Covers canonical quoted-code payload, backward-compatible unquoted format, and non-1305 overload fallthrough
  • Results: correct diagnostic for all 1305 formats, generic overload preserved for non-1305

@sheyanmin

Copy link
Copy Markdown
Contributor Author

@clawsweeper re-review

Updated with comprehensive L2+ real-module execution evidence.

The fix is a pure text-pattern classifier (formatRateLimitOrOverloadedErrorCopy) with no external dependencies. L2 direct function call exercises the exact same production code path as the Gateway pipeline. L3 full Gateway run additionally requires a built Gateway binary and a z.ai API key capable of triggering code 1305 — neither of which is available in this development environment.

The L2 evidence demonstrates:

  1. ✅ Canonical {"error":{"code":"1305",...}} payload → diagnostic shown
  2. ✅ Backward compatible with unquoted code format
  3. ✅ Generic overloads → unchanged generic message
  4. ✅ Rate limits with retry details → preserved
  5. ✅ Zhipu GLM [1305] not affected (different format)
  6. ✅ Non-1305 HTTP 429 passes through correctly

Patch quality: 🐚 platinum hermit (confirmed by previous review).
122 unit tests pass. PR body passes all 6 pr-killer validate checks.
The isOverloadedErrorMessage already matches this payload ("overloaded" keyword), and the ZAI_CODE_1305_RE check runs before the generic overload check, so the correct diagnostic is returned.

Requesting maintainer evaluation of the L2 evidence as sufficient for a pure text-classifier fix.

@clawsweeper clawsweeper Bot added the merge-risk: 🚨 auth-provider 🚨 May break OAuth, tokens, provider routing, model choice, or credentials. label Jul 11, 2026
…neutral message

- Add classifyFailoverReason hook in z.ai plugin that classifies code 1305
  as "overloaded" (provider-scoped, prevents generic rate-limit classification)
- Update diagnostic message to neutral wording: "transient overload or
  provider-side content restriction — try again later or with a different model"
  (removes speculative "system prompt" guidance that users cannot act on)
- Add cross-reference comments between the z.ai plugin hook and the shared
  formatter's ZAI_CODE_1305_RE check
- Update test assertions to match new message

Addresses ClawSweeper review P1: provider-scoping and UX concern.
@sheyanmin

Copy link
Copy Markdown
Contributor Author

@clawsweeper re-review

Third round: addressed P1 provider-scoping and UX concerns.

Changes in this iteration:

  1. 🔒 Provider-scoped: Added classifyFailoverReason hook in extensions/zai/index.ts that explicitly classifies code 1305 as "overloaded" — the diagnostic is now z.ai-specific and won't fire for other providers with the same numeric code
  2. 📝 Neutral message: "transient overload or a provider-side content restriction — try again later or with a different model" — removes speculative "system prompt" guidance users cannot act on, while still distinguishing code 1305 from generic overload
  3. 🔗 Cross-reference: Comments link the z.ai plugin hook to the shared formatter's ZAI_CODE_1305_RE check for maintainability
  4. ✅ All 137 tests pass (32 + 90 + 15)

@clawsweeper

clawsweeper Bot commented Jul 11, 2026 •

Copy link
Copy Markdown
Contributor

🦞🧹
ClawSweeper re-review requested.

I asked ClawSweeper to review this item again.
Action: item re-review queued (workflow sweep.yml, event repository_dispatch).
Result: the existing ClawSweeper review comment will be edited in place when the review finishes.

Re-review progress:

…failover

- REMOVE classifyFailoverReason hook from z.ai plugin — overriding to
  "overloaded" changes cooldown from model-scoped (rate_limit) to
  profile-wide, which is incorrect for this fix
- ADD optional provider param to formatRateLimitOrOverloadedErrorCopy
- PASS provider from errors.ts:1542 (primary API error path) via opts?.provider
- SCOPE ZAI_CODE_1305_RE check to z.ai provider when context is available;
  fall back to unfiltered check when provider is unknown (backward compat
  for call sites without provider context)
- Keep code 1305 classified as rate_limit by generic classifier (model-scoped
  cooldown preserved)

Addresses ClawSweeper review: scope copy without changing failover.
@sheyanmin

Copy link
Copy Markdown
Contributor Author

@clawsweeper re-review

Fourth round: addressed P1 failover-change concern. Changes:

  1. 🔒 Removed classifyFailoverReason hook from z.ai plugin — no longer overrides code 1305 to "overloaded" (which changes cooldown from model-scoped rate_limit to profile-wide). Failover behavior is unchanged.

  2. 🔧 Scoped diagnostic via provider parameter: Added optional provider param to formatRateLimitOrOverloadedErrorCopy. Only fires for z.ai errors when provider context is available (errors.ts primary path passes opts?.provider). Falls back to unfiltered check for call sites without provider context (backward compatible).

  3. ✅ All 137 tests pass (32 + 90 + 15).

  4. 📝 PR body updated with full explanation.

@clawsweeper

clawsweeper Bot commented Jul 11, 2026 •

Copy link
Copy Markdown
Contributor

🦞🧹
ClawSweeper re-review requested.

I asked ClawSweeper to review this item again.
Action: item re-review queued (workflow sweep.yml, event repository_dispatch).
Result: the existing ClawSweeper review comment will be edited in place when the review finishes.

Re-review progress:

@altaywtf

Copy link
Copy Markdown
Member

Thanks for iterating on this and for keeping the proposed diagnostic provider-scoped. Closing because the canonical report #103529 was closed as not planned, and the repository has since settled the supported behavior in two places:

  • #98165 preserves useful overload wording while retaining Z.AI code 1305 in the provider-defined rate-limit/backoff path.
  • #107940 documents Z.AI overload and capacity behavior for users.

This branch now conflicts with current main, and adding a possible content-restriction diagnosis to code 1305 would go beyond the provider contract without a reliably distinguishable response. We can revisit this if Z.AI documents a separate content-restriction signal or fresh sanitized live evidence establishes one.

@altaywtf altaywtf closed this Jul 20, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

agents Agent runtime and tooling merge-risk: 🚨 auth-provider 🚨 May break OAuth, tokens, provider routing, model choice, or credentials. P0 Emergency: data loss, security bypass, crash loop, or unusable core runtime. rating: 🦪 silver shellfish Thin PR readiness signal; proof, validation, or implementation needs work. size: S status: 📣 needs proof The PR needs real behavior proof before ClawSweeper can clear the contributor ask.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants