summaryrefslogtreecommitdiff
path: root/extension/react-app/src/components/StepContainer.tsx
diff options
context:
space:
mode:
authorNate Sesti <sestinj@gmail.com>2023-05-29 18:31:25 -0400
committerNate Sesti <sestinj@gmail.com>2023-05-29 18:31:25 -0400
commit8d59100b3194cc8d122708523226968899efb5e1 (patch)
tree88fe742114c87d6df0424f46dfc86077d716a074 /extension/react-app/src/components/StepContainer.tsx
parent8c00cddb9345daaf2052d3b2650fa136f39813be (diff)
downloadsncontinue-8d59100b3194cc8d122708523226968899efb5e1.tar.gz
sncontinue-8d59100b3194cc8d122708523226968899efb5e1.tar.bz2
sncontinue-8d59100b3194cc8d122708523226968899efb5e1.zip
(much!) faster inference with starcoder
Diffstat (limited to 'extension/react-app/src/components/StepContainer.tsx')
-rw-r--r--extension/react-app/src/components/StepContainer.tsx21
1 files changed, 3 insertions, 18 deletions
diff --git a/extension/react-app/src/components/StepContainer.tsx b/extension/react-app/src/components/StepContainer.tsx
index 03649b66..36b3d99a 100644
--- a/extension/react-app/src/components/StepContainer.tsx
+++ b/extension/react-app/src/components/StepContainer.tsx
@@ -144,6 +144,9 @@ function StepContainer(props: StepContainerProps) {
onSubmit={(ev) => {
props.onUserInput(ev.currentTarget.value);
}}
+ onClick={(e) => {
+ e.stopPropagation();
+ }}
/>
)}
{props.historyNode.step.name === "Waiting for user confirmation" && (
@@ -165,24 +168,6 @@ function StepContainer(props: StepContainerProps) {
/>
</>
)}
-
- {open && (
- <>
- {/* {props.historyNode.observation && (
- <SubContainer title="Error">
- <CodeBlock>Error Here</CodeBlock>
- </SubContainer>
- )} */}
- {/* {props.iterationContext.suggestedChanges.map((sc) => {
- return (
- <SubContainer title="Suggested Change">
- {sc.filepath}
- <CodeBlock>{sc.replacement}</CodeBlock>
- </SubContainer>
- );
- })} */}
- </>
- )}
</StepContainerDiv>
</GradientBorder>