Introduction
Introduction Statistics Contact Development Disclaimer Help
SECRET - annna - Annna the nice friendly bot.
git clone git://bitreich.org/annna/ git://enlrupgkhuxnvlhsf6lc3fziv5h2hhfrinws6…
Log
Files
Refs
Tags
README
---
commit ffb07ed5c0ea054522a6145273249611bbf4d330
parent cffb033432d9300fec29cd22a8535189273f9691
Author: Annna Robert-Houdin <[email protected]>
Date: Sun, 20 Jul 2025 14:26:16 +0200
SECRET
Diffstat:
M gpt | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/gpt b/gpt
@@ -65,10 +65,10 @@ function remote_llama() {
"${prompt}" \
| head -n 1
fi
- [ $? -gt 0 ] && exit 1
}
prompt="$1"
-remote_llama "${prompt}"
-[ $? -gt 0 ] && local_llama "${prompt}"
+response="$(remote_llama "${prompt}")"
+[ -z "${response}" ] && response="$(local_llama "${prompt}")"
+[ -n "${response}" ] && printf "%s\n" "${response}"
You are viewing proxied material from bitreich.org. The copyright of proxied material belongs to its original authors. Any comments or complaints in relation to proxied material should be directed to the original authors of the content concerned. Please see the disclaimer for more details.