fix(git): write commit messages with the thread's provider #7685
Closedshubhxho(GitHub profile, opens in a new tab)wants to merge 2 commits into
main fromrefs/pull/7685/headopened View on GitHubgithub-actions[bot](GitHub profile, opens in a new tab) added labelsvouch:unvouched
github-actions[bot](GitHub profile, opens in a new tab) added labelssize:L
- packages/shared/src/serverSettings.ts line 91OutdatedResolvedby cursor[bot](GitHub profile, opens in a new tab)@@ -56 +71,21 @@71+ }72+ if (providers === undefined) {73+ return true;74+ }75+ const provider = findWriterProvider(providers, selection);76+ return provider !== undefined && isWriterProviderUsable(provider);77+}78+79+function isFallbackWriterUsable(80+ settings: ServerSettings,81+ selection: ModelSelection,82+ providers?: ReadonlyArray<ServerProvider>,83+): boolean {84+ if (!isModelSelectionProviderEnabled(settings, selection)) {85+ return false;5686 }87+ const provider = findWriterProvider(providers, selection);88+ if (provider === undefined) {89+ return true;90+ }91+ return isWriterProviderUsable(provider);
juliusmarminge closed this
Sign in to join this conversation.


Important
Review skipped#
Auto reviews are disabled on this repository. Please check the settings in the CodeRabbit UI or the
.coderabbit.yamlfile in this repository. To trigger a single review, invoke the@coderabbitai reviewcommand.⚙️ Run configuration
Configuration used: Repository UI
Review profile: CHILL
Plan: Pro Plus
Run ID:
55bddf6b-6455-4841-894a-9966e79f4955You can disable this status message by setting the
reviews.review_statustofalsein the CodeRabbit configuration file.Use the checkbox below for a quick retry:
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.
❤️ Share