Skip to content
Source
Sign inSign up
pingdotgg/t3code

Feat/mid thread provider switching #9392

ClosedBandaySajid(GitHub profile, opens in a new tab)wants to merge 7 commits intomain fromrefs/pull/9392/headopened View on GitHub

Showing 14 changed files with 12 additions and 11 deletions (loading 11).

x
0 of 14 viewed, 14 left
1 addition and 0 deletionsapps/mobile/src/features/threads/NewTaskDraftScreen.tsxModified
View file
@@ -313,6 +313,7 @@
? selectedProject?.workspaceRoot
: (flow.selectedWorktreePath ?? selectedProject?.workspaceRoot)) || null,
selectedProviderStatus: flow.selectedProviderStatus,
+ providerStatuses: selectedEnvironmentServerConfig?.providers,
hasThread: false,
enabled: isComposerFocused && !isComposerInteractionLocked,
onChangeDraftMessage: flow.setPrompt,
1 addition and 0 deletionsapps/mobile/src/features/threads/ThreadComposer.tsxModified
View file
@@ -355,6 +355,7 @@
environmentId: props.environmentId,
projectCwd: props.projectCwd,
selectedProviderStatus,
+ providerStatuses: props.serverConfig?.providers,
hasThread: true,
onChangeDraftMessage: props.onChangeDraftMessage,
onUpdateInteractionMode: props.onUpdateInteractionMode,
10 additions and 11 deletionsapps/mobile/src/features/threads/ThreadDetailScreen.tsxModified
View file
@@ -5,7 +5,7 @@
} from "@t3tools/client-runtime/codex-artifact-templates";
import type { EnvironmentThreadStatus } from "@t3tools/client-runtime/state/threads";
import { useKeyboardChatComposerInset, useKeyboardScrollToEnd } from "@legendapp/list/keyboard";
-import { resolveProviderSkillsForCwd } from "@t3tools/client-runtime/providerSkills";
+import { resolveProviderSkillsForCwdAcrossProviders } from "@t3tools/client-runtime/providerSkills";