Skip to content

Self-hosted, Self-Improving, Federated Everything App — dev management, agent orchestration, persistent mind, digital twin, second brain, and creative pipeline from a single dashboard over Tailscale to port the user into the OS

fix: remove unused imports and match original request payload pattern (#8743)

[._.]/ Adam Eivy665a54af5914
diff --git a/client/src/components/apps/tabs/IssuesTab.jsx b/client/src/components/apps/tabs/IssuesTab.jsx
index 1f27be3645..a9b5526868 100644
--- a/client/src/components/apps/tabs/IssuesTab.jsx
+++ b/client/src/components/apps/tabs/IssuesTab.jsx
@@ -19,7 +19,6 @@ import ScopeAdherenceCheck from '../ScopeAdherenceCheck';
import ReviewerPicker from '../../cos/ReviewerPicker';
import useReviewerModelOptions from '../../../hooks/useReviewerModelOptions';
import { chipColors } from '../../../lib/chipContrast';
-import { enabledProcessProviderFilter } from '../../../utils/providers';
import * as api from '../../../services/api';
import { timeAgo, formatCount } from '../../../utils/formatters';
import { useAsyncAction } from '../../../hooks/useAsyncAction';
diff --git a/client/src/components/apps/tabs/PullRequestsTab.jsx b/client/src/components/apps/tabs/PullRequestsTab.jsx
index fbbf6c19e4..3eb41b4c9c 100644
--- a/client/src/components/apps/tabs/PullRequestsTab.jsx
+++ b/client/src/components/apps/tabs/PullRequestsTab.jsx
@@ -20,7 +20,6 @@ import useRunWithPicker from '../../../hooks/useRunWithPicker';
import useReviewerModelOptions from '../../../hooks/useReviewerModelOptions';
import { CodeReviewDefaultsProvider, useCodeReviewDefaults } from '../../../hooks/useCodeReviewDefaults';
import { reviewerModelsFromDefaults, reviewerEffortsFromDefaults } from '../../../lib/reviewerModels';
-import { enabledProcessProviderFilter } from '../../../utils/providers';
import * as api from '../../../services/api';
import { timeAgo } from '../../../utils/formatters';
import RunActionButton from './RunActionButton';
diff --git a/client/src/hooks/useRunWithPicker.js b/client/src/hooks/useRunWithPicker.js
index 5fa8c2467c..5698cb08c9 100644
--- a/client/src/hooks/useRunWithPicker.js
+++ b/client/src/hooks/useRunWithPicker.js
@@ -58,11 +58,12 @@ export default function useRunWithPicker() {
highlightToolUse: true,
};
- // Request fragment with empty values dropped
+ // Request fragment matching the original pattern: include all fields,
+ // matching the previous behavior of `provider || undefined, model || undefined, effort || undefined`
const pin = {
- ...(selectedProviderId ? { provider: selectedProviderId } : {}),
- ...(selectedModel ? { model: selectedModel } : {}),
- ...(effort ? { effort } : {}),
+ provider: selectedProviderId || undefined,
+ model: selectedModel || undefined,
+ effort: effort || undefined,
};
// Also expose individual properties for convenience and agentPicker compatibility