The fastest, cheapest, most efficient open-source agent harness. Run more than 500 agents on a $10 VPS.
Rust agent-orchestrationai-agentsai-assistantdesktopllmlocal-firstmcppersonal-aiprivacyrustsecond-braintauri
Merge current main and preserve explicit composer routing
Sayr Wolfridgeaed298d08c84
diff --cc app/src/features/conversations/Conversations.processSourceCommand.test.tsxindex 03ad0354d8,0e9383c35a..d94c09aece--- a/app/src/features/conversations/Conversations.processSourceCommand.test.tsx+++ b/app/src/features/conversations/Conversations.processSourceCommand.test.tsx@@@ -205,27 -176,9 +209,28 @@@ async function renderChat</Provider>);});+ return store;}+async function submitComposerText(text: string) {+ const input = screen.getByRole('textbox');+ await act(async () => {+ input.textContent = text;+ fireEvent.input(input, { data: text, inputType: 'insertText' });+ });+ const sendButton = screen.getByTestId('send-message-button');+ await waitFor(() => expect(sendButton).not.toBeDisabled());+ await act(async () => {+ fireEvent.click(sendButton);+ });+ await waitFor(() => expect(mockChatSend).toHaveBeenCalledTimes(1));+}++async function selectPickerModel() {+ fireEvent.click(screen.getByTestId('composer-chat-settings'));+ fireEvent.click(await screen.findByRole('button', { name: 'Pick Hugging Face model' }));+}+// The predicate's other half (`selectedThreadId !== null`) is deliberately not// asserted here: on `/chat` it is unreachable as a steady state. The boot effect// reuses an empty thread or calls `handleCreateNewThread`, so the page alwaysdiff --cc app/src/features/conversations/Conversations.tsxindex 309dea9733,50429e28cf..412a19e32d--- a/app/src/features/conversations/Conversations.tsx+++ b/app/src/features/conversations/Conversations.tsx@@@ -1198,29 -1152,13 +1152,13 @@@ const Conversations = (pendingSendsRef.current.add(sendingThreadId);addPendingSendingThread(sendingThreadId);const pendingAttachments = attachments.slice();- const modelOverride = composerModelOverride ?? CHAT_MODEL_HINT;+ const modelOverride = composerModelOverride ?? undefined;- const messageText = buildMessageWithAttachments(trimmed, pendingAttachments);+ let messageText = buildMessageWithAttachments(trimmed, pendingAttachments);const userMessage: ThreadMessage = {id: `msg_${globalThis.crypto.randomUUID()}`,- content: trimmed,+ content: messageText,type: 'text',- extraMetadata:- pendingAttachments.length > 0- ? {- attachmentCount: pendingAttachments.length,- attachmentNames: pendingAttachments.map(a => a.file.name),- attachmentKinds: pendingAttachments.map(a => a.kind),- attachmentDataUris: pendingAttachments- .filter(a => a.kind === 'image')- .map(a => a.previewUri ?? a.dataUri),- // Poster (first frame) per attachment, index-aligned with- // attachmentKinds — only video entries carry one; others null.- attachmentPosters: pendingAttachments.map(a =>- a.kind === 'video' ? (a.previewUri ?? a.dataUri) : null- ),- attachmentCompressed: pendingAttachments.map(a => a.compressed),- }- : {},+ extraMetadata: attachmentMetadata(pendingAttachments),sender: 'user',createdAt: new Date().toISOString(),};