Skip to content

fix(macos): update inference selection tests to new llm.default API#26287

Merged
siddseethepalli merged 1 commit into
mainfrom
do/jarvis-fix-inference-provider-test
Apr 18, 2026
Merged

fix(macos): update inference selection tests to new llm.default API#26287
siddseethepalli merged 1 commit into
mainfrom
do/jarvis-fix-inference-provider-test

Conversation

@siddseethepalli
Copy link
Copy Markdown
Contributor

Summary

  • The two managed-mode persistence tests in SettingsStoreManagedInferenceSelectionTests.swift called store.setInferenceProvider(...) and asserted on a services.inference.provider patch. Both were obsolete after Unify LLM call-site configuration under llm.{default,profiles,callSites} #26159 renamed the API to setLLMDefaultProvider and moved the config path under llm.default.provider, and the macOS Tests CI job has been red since.
  • Switch both tests to setLLMDefaultProvider and inspect llm.default.provider in the mock patch payload. No production code changes.

Original prompt

--yolo Fix the specific CI issue in this failing job only: https://github.com/vellum-ai/vellum-assistant/actions/runs/24594653274/job/71922248511

… llm.default API

The tests were added in #26251 against the old `setInferenceProvider` /
`services.inference.provider` API. #26159 merged afterward renamed that
API to `setLLMDefaultProvider` and moved the config path to
`llm.default.provider`, leaving the tests unable to compile.

Rename the calls and update the patch assertions to match the new shape.
@siddseethepalli siddseethepalli merged commit aad7705 into main Apr 18, 2026
@siddseethepalli siddseethepalli deleted the do/jarvis-fix-inference-provider-test branch April 18, 2026 02:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant