From a4cd977d17d45e3ed16c7fd3f90ec76c00b14096 Mon Sep 17 00:00:00 2001 From: Jeff Emmett Date: Wed, 1 Apr 2026 12:02:16 -0700 Subject: [PATCH] Remove unreliable Ollama models from AI prompt, fix message overflow - Remove Ollama model options (cold start timeouts via CF tunnel) - Keep only Gemini Flash/Pro which are reliable cloud APIs - Fix messages overflowing shape: min-height:0 on flex scroll container, word-break on messages, max-width on pre blocks Co-Authored-By: Claude Opus 4.6 --- lib/folk-prompt.ts | 16 ++++++---------- 1 file changed, 6 insertions(+), 10 deletions(-) diff --git a/lib/folk-prompt.ts b/lib/folk-prompt.ts index 5cfed84..d36c9c8 100644 --- a/lib/folk-prompt.ts +++ b/lib/folk-prompt.ts @@ -60,6 +60,7 @@ const styles = css` .messages { flex: 1; + min-height: 0; overflow-y: auto; padding: 12px; display: flex; @@ -73,6 +74,8 @@ const styles = css` border-radius: 12px; font-size: 13px; line-height: 1.5; + overflow-wrap: break-word; + word-break: break-word; } .message.user { @@ -300,6 +303,7 @@ const styles = css` overflow-x: auto; font-size: 12px; margin: 8px 0; + max-width: 100%; } code { @@ -440,16 +444,8 @@ export class FolkPrompt extends FolkShape {