pi shortcuts:
- in Ghostty use cmd+shift+up/down keys (or super+shift+up/down keys) to jump between prompts
- Use ctrl+g to open in $VISUAL or $EDITOR. Set
export VISUAL="zed --wait" - ctrl+l to change model
- to use image capable model with a non-image capable model do:
pi --model zai/glm-5.1 --append-system-prompt "You lack image understanding and image reading capabilities. Use `pi -p --session-info --model zai/glm-5v-turbo --no-tools @'file.png' 'question'` in these cases. Before you run that command, you should read the image. If the user or you have follow-ups for that same image, you can continue asking on the same session that `pi -p --session-info` gives you."