Skip to content

Instantly share code, notes, and snippets.

@ajitid
Last active May 9, 2026 10:18
Show Gist options
  • Select an option

  • Save ajitid/d2cbafe3e97c9b513954fbf9ad97798e to your computer and use it in GitHub Desktop.

Select an option

Save ajitid/d2cbafe3e97c9b513954fbf9ad97798e to your computer and use it in GitHub Desktop.
[not for public consumption] better ui, better chatgpt

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."

Note that --session-info is only getting printed because you have created an extension that can print out session info when this flag is passed.


unrelated to chatgpt:

local and remote isolated vms:

in cursor:

Shared Knowledge
View team-wide Rules, Commands, and Hooks. 
@ajitid

ajitid commented May 9, 2026

Copy link
Copy Markdown
Author

/home/ajit/Pictures/Screenshots/Screenshot\ From\ 2026-05-09\ 15-45-21.png

look at last flow and use browser tools if you need to inspect further but this wait step is failing. can you check and tell why that could be the case? you can run events if you want to verify

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment