diff --git a/private_dot_zshrc b/private_dot_zshrc index dd7a9a5..794d2f4 100644 --- a/private_dot_zshrc +++ b/private_dot_zshrc @@ -41,7 +41,11 @@ export ZSH_AI_GEMINI_MODEL="gemini-2.5-flash" # Endpoint, not a credential — the matching key comes from secrets.zsh. export ZAI_BASE_URL="https://api.z.ai/api/anthropic" -(( _ubuntu )) && { +# Pi keeps Anthropic prompt caches for 1 hour, not 5 minutes: long agent runs +# often wait longer than 5 minutes between turns. +export PI_CACHE_RETENTION=long + +(( _ubuntu )) && [[ -n $WAYLAND_DISPLAY ]] && { export GDK_BACKEND=wayland export QT_QPA_PLATFORM=wayland export CLUTTER_BACKEND=wayland