Merge branch 'main' into feat/image-select

This commit is contained in:
Ed McConnell
2024-12-14 09:56:29 -05:00
5 changed files with 64 additions and 5 deletions

View File

@@ -436,12 +436,15 @@ export const BaseChat = React.forwardRef<HTMLDivElement, BaseChatProps>(
}
event.preventDefault();
if (isStreaming) {
handleStop?.();
return;
}
// ignore if using input method engine
if (event.nativeEvent.isComposing) {
return
}
handleSendMessage?.(event);
}
}}

View File

@@ -15,6 +15,7 @@ export default function ConnectionsTab() {
hasToken: !!githubToken,
});
toast.success('GitHub credentials saved successfully!');
Cookies.set('git:github.com', JSON.stringify({ username: githubToken, password: 'x-oauth-basic' }));
};
return (