+
Pending tool call
dispatch(cancelCurrentToolCall())}
data-testid="reject-tool-call-button"
>
@@ -47,7 +47,7 @@ export function PendingToolCallToolbar() {
dispatch(callCurrentTool())}
data-testid="accept-tool-call-button"
>
diff --git a/gui/src/components/mainInput/Lump/LumpToolbar/StreamingToolbar.tsx b/gui/src/components/mainInput/Lump/LumpToolbar/StreamingToolbar.tsx
index 25388272e..aa3a6cdaf 100644
--- a/gui/src/components/mainInput/Lump/LumpToolbar/StreamingToolbar.tsx
+++ b/gui/src/components/mainInput/Lump/LumpToolbar/StreamingToolbar.tsx
@@ -1,28 +1,9 @@
-import styled from "styled-components";
import { useAppDispatch } from "../../../../redux/hooks";
import { cancelStream } from "../../../../redux/thunks";
-import {
- getAltKeyLabel,
- getFontSize,
- getMetaKeyLabel,
- isJetBrains,
-} from "../../../../util";
+import { getAltKeyLabel, getMetaKeyLabel, isJetBrains } from "../../../../util";
+import { Container, StopButton } from "./components";
import { GeneratingIndicator } from "./GeneratingIndicator";
-const Container = styled.div`
- display: flex;
- justify-content: space-between;
- align-items: center;
- width: 100%;
-`;
-
-const StopButton = styled.div`
- font-size: ${getFontSize() - 3}px;
- padding: 2px;
- padding-right: 4px;
- cursor: pointer;
-`;
-
export function StreamingToolbar() {
const dispatch = useAppDispatch();
const jetbrains = isJetBrains();
diff --git a/gui/src/components/mainInput/Lump/LumpToolbar/components.ts b/gui/src/components/mainInput/Lump/LumpToolbar/components.ts
new file mode 100644
index 000000000..7b4764f19
--- /dev/null
+++ b/gui/src/components/mainInput/Lump/LumpToolbar/components.ts
@@ -0,0 +1,18 @@
+// TODO: Convert these to tailwind
+
+import styled from "styled-components";
+import { getFontSize } from "../../../../util";
+
+export const Container = styled.div`
+ display: flex;
+ justify-content: space-between;
+ align-items: center;
+ width: 100%;
+`;
+
+export const StopButton = styled.div`
+ font-size: ${getFontSize() - 3}px;
+ padding: 2px;
+ padding-right: 4px;
+ cursor: pointer;
+`;