Files
openclaw/extensions/qa-lab/src/providers
clawSean a048aeae16 fix(qa-lab): treat claude-cli as Anthropic-family for live turn timeouts (#96567)
The live-frontier turn-timeout resolution only matched `anthropic/` models,
so `claude-cli/*` routes fell into the 120s fallback bucket instead of the
180s Anthropic floor, and claude-cli Opus missed the 240s Opus floor — even
though claude-cli serves the same Anthropic Claude models.

Recognize claude-cli as Anthropic-family via a small `isAnthropicFamilyModel`
helper, mirroring the existing `provider === "anthropic" || provider === "claude-cli"`
precedent in the aimock and mock-openai servers.

Co-authored-by: clawSean <260045960+clawSean@users.noreply.github.com>
Co-authored-by: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-27 08:47:33 -07:00
..

QA Provider Lanes

QA provider lanes are registered in index.ts and implemented in one folder per provider. Shared provider contracts and mock-provider helpers live in shared/. Mock lanes should use shared/mock-provider-definition.ts unless they need a custom shape.

Each provider definition owns:

  • its accepted providerMode
  • default primary, alternate, and image-generation model refs
  • gateway models.providers config, when the lane needs config injection
  • model runtime params such as SSE transport, fast mode, or thinking defaults
  • optional local server startup for mock lanes
  • optional placeholder auth profile providers for mock lanes
  • whether the lane uses real provider plugins and live environment aliases

Shared suite code should import only providers/index.ts and ask the selected provider for behavior. Do not add provider-name branches to suite, gateway, manual-lane, or live-transport runtime code unless the registry contract is missing a needed capability.