From 08cd2b6eac9d237a690929e4bb43fc0cd911f2b8 Mon Sep 17 00:00:00 2001 From: Levi Neely Date: Wed, 12 Aug 2026 16:19:26 +0200 Subject: [PATCH] fix: remove unnecessary session creation from ollie-ask generate endpoint doesn't require a session --- dolphin/ollie-ask | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/dolphin/ollie-ask b/dolphin/ollie-ask index 4f7e0f2..493db8f 100755 --- a/dolphin/ollie-ask +++ b/dolphin/ollie-ask @@ -6,11 +6,7 @@ TARGET="$1" PREFIX="${2:-Describe and explain this file:}" PROMPT="$PREFIX $TARGET" -# Ensure default session and agent exist -printf 'name=default\ncwd=%s\n' "$HOME" | ollie-9p write session/new 2>/dev/null -printf 'cwd=%s\n' "$HOME" | ollie-9p write session/default/agent/new 2>/dev/null - -# Use Generate one-shot via 9P +# Use Generate one-shot via 9P (no session required) RESULT=$(echo "$PROMPT" | ollie-9p rdwr generate 2>/dev/null) if [ -z "$RESULT" ]; then