diff --git a/extensions/intellij/src/testIntegration/kotlin/com/github/continuedev/continueintellijextension/Autocomplete.kt b/extensions/intellij/src/testIntegration/kotlin/com/github/continuedev/continueintellijextension/Autocomplete.kt index beca6683933..62279b6f8b8 100644 --- a/extensions/intellij/src/testIntegration/kotlin/com/github/continuedev/continueintellijextension/Autocomplete.kt +++ b/extensions/intellij/src/testIntegration/kotlin/com/github/continuedev/continueintellijextension/Autocomplete.kt @@ -39,6 +39,12 @@ class Autocomplete { keyboard { tab() } + // Poll for autocomplete response from core binary (async via stdin/stdout); + // CI runners can be slow, so use a generous timeout with frequent polling. + val deadline = System.currentTimeMillis() + 30_000L + while (!text.contains("TEST_LLM_RESPONSE_0") && System.currentTimeMillis() < deadline) { + Thread.sleep(500) + } assertTrue(text.contains("TEST_LLM_RESPONSE_0")) } } diff --git a/gui/src/components/StepContainer/StepContainer.tsx b/gui/src/components/StepContainer/StepContainer.tsx index fc6981d0558..51d8a820887 100644 --- a/gui/src/components/StepContainer/StepContainer.tsx +++ b/gui/src/components/StepContainer/StepContainer.tsx @@ -77,7 +77,7 @@ export default function StepContainer(props: StepContainerProps) { return (
diff --git a/gui/src/components/StyledMarkdownPreview/SyntaxHighlightedPre.tsx b/gui/src/components/StyledMarkdownPreview/SyntaxHighlightedPre.tsx
index 6e4fc3e2be5..ad0f029e0ec 100644
--- a/gui/src/components/StyledMarkdownPreview/SyntaxHighlightedPre.tsx
+++ b/gui/src/components/StyledMarkdownPreview/SyntaxHighlightedPre.tsx
@@ -23,6 +23,7 @@ const StyledPre = styled.pre<{ theme: any }>`
margin-top: 0;
margin-bottom: 0;
border-radius: 0 0 ${defaultBorderRadius} ${defaultBorderRadius} !important;
+ max-width: 100%;
max-height: 40vh;
overflow-y: scroll !important;
diff --git a/gui/src/components/StyledMarkdownPreview/index.tsx b/gui/src/components/StyledMarkdownPreview/index.tsx
index 2ff217a6147..be30d60ebda 100644
--- a/gui/src/components/StyledMarkdownPreview/index.tsx
+++ b/gui/src/components/StyledMarkdownPreview/index.tsx
@@ -66,8 +66,8 @@ const StyledMarkdown = styled.div<{
background-color: ${vscEditorBackground};
border-radius: ${defaultBorderRadius};
- max-width: calc(100vw - 24px);
- overflow-x: scroll;
+ max-width: 100%;
+ overflow-x: auto;
overflow-y: hidden;
padding: 8px;
diff --git a/gui/src/pages/gui/Chat.tsx b/gui/src/pages/gui/Chat.tsx
index 00e04efd1f4..ffcb80aa1ef 100644
--- a/gui/src/pages/gui/Chat.tsx
+++ b/gui/src/pages/gui/Chat.tsx
@@ -386,7 +386,7 @@ export function Chat() {
0 ? "min-h-0 flex-1 overflow-y-scroll" : "shrink-0"}`}
+ className={`pt-[8px] ${showScrollbar ? "thin-scrollbar" : "no-scrollbar"} ${history.length > 0 ? "min-h-0 min-w-0 flex-1 overflow-y-scroll" : "shrink-0"}`}
>
{highlights}