feat: add zen model selection to settings (#415)
This commit is contained in:
@@ -951,10 +951,12 @@ export const PullRequestSection: React.FC<{
|
||||
if (!directory) return;
|
||||
setIsGenerating(true);
|
||||
try {
|
||||
const zenModel = useConfigStore.getState().settingsZenModel;
|
||||
const generated = await generatePullRequestDescription(directory, {
|
||||
base: baseBranch,
|
||||
head: branch,
|
||||
context: additionalContext,
|
||||
...(zenModel ? { zenModel } : {}),
|
||||
});
|
||||
|
||||
if (generated.title?.trim()) {
|
||||
|
||||
Reference in New Issue
Block a user