mirror of
https://github.com/openclaw/openclaw.git
synced 2026-08-12 21:53:00 -06:00
refactor(agents): delete dead model-selection surface and consolidate compaction targets (#122474)
* refactor(agents): delete dead model-selection surface, consolidate compaction target assembly Removes production surface with zero live callers: buildConfiguredAllowlistKeys (orphaned since fallback allowlist filtering was split out), the retryTransientProviderRuntimeMiss resolveModelAsync option (its gateway startup prewarming caller was replaced by prepared runtime snapshots), the ignored useAsyncModelResolution plumbing (kept only as a deprecated no-op field on the plugin-SDK-shipped prepareSimpleCompletionModelForAgent), and dead facade re-exports (inferUniqueProviderFromCatalog, ThinkLevel, ModelRefStatus). Consolidates resolveEmbeddedCompactionTarget's five hand-built result sites into one assembleTarget helper owning the auth-profile-drop-on-provider-change rule; resolution precedence is unchanged and now pinned by new table-driven cases (unique-provider inference, ambiguous literal, profile-suffix preservation). Net -93 production LOC, -106 test LOC. * chore(sdk): regenerate plugin SDK API baseline after facade export removals
This commit is contained in:
committed by
GitHub
parent
8190c326ce
commit
59ea107d09
@@ -1 +1 @@
|
||||
{"contentHash":"2d76a60bfd593777339ee478306234773ac9ad626c564c60c95d49f82019ae2c","entrypoint":"provider-catalog-runtime","importSpecifier":"openclaw/plugin-sdk/provider-catalog-runtime"}
|
||||
{"contentHash":"f61cc543e5d007e5da4951ccc61e12fc107fed478dfc8285b37389a77d2a6224","entrypoint":"provider-catalog-runtime","importSpecifier":"openclaw/plugin-sdk/provider-catalog-runtime"}
|
||||
|
||||
Reference in New Issue
Block a user