mirror of
https://github.com/cline/cline.git
synced 2026-10-29 17:42:34 +08:00
* add custom model selection to the vertex provider * fix race conditions from PR review * fix linter warnings * fix test failures * refactor(vscode): drop Vertex global-endpoint picker filtering The SDK catalog is live (models.dev), so a static host allowlist of global-endpoint-capable models lags every model launch and silently hides new models from users on vertexRegion=global. Remove the allowlist, the host override that injected supportsGlobalEndpoint, and the picker filter; show the full catalog for every region. An unsupported pick now fails loudly at request time: map Vertex's 'model not available in region: global' (and Google's Publisher Model locations/global not-found body) to recovery guidance in the error row. Also drop Anthropic's universal pricing from the Vertex Fable 5 overlay — Vertex bills region-dependently, so the copied price understated recorded cost; the record now carries no pricing instead of a wrong one. --------- Co-authored-by: Saoud Rizwan <7799382+saoudrizwan@users.noreply.github.com>