-
Notifications
You must be signed in to change notification settings - Fork 516
Description
Describe the bug
When trying to let aichat
to provide intelligent complets directly in terminal. I recieve error Error: Unable to read the pipe for shell execution on MacOS
To Reproduce
Copy and paste shell integration script from https://github.com/sigoden/aichat/blob/main/scripts/shell-integration/integration.zsh
Restart and reload ZSH in terminal exec zsh
Then type install nvim
follow by the binding key shortcut to trigger error.
Expected behavior
Expected intelligent suggestion. Similar to outcome when execute aichat -e install nvim
Logs
None found when AICHAT_LOG_LEVEL=debug is enabled in terminal
Configuration
model openai:gpt-4o
temperature null
top_p null
use_tools null
max_output_tokens null
save_session null
compress_threshold 4000
rag_reranker_model null
rag_top_k 5
dry_run false
function_calling true
stream true
save false
keybindings emacs
wrap no
wrap_code false
highlight true
light_theme false
config_file /Users/ABC123/Library/Application Support/aichat/config.yaml
env_file /Users/ABC123/Library/Application Support/aichat/.env
roles_dir /Users/ABC123/Library/Application Support/aichat/roles
sessions_dir /Users/ABC123/Library/Application Support/aichat/sessions
rags_dir /Users/ABC123/Library/Application Support/aichat/rags
macros_dir /Users/ABC123/Library/Application Support/aichat/macros
functions_dir /Users/ABC123/Library/Application Support/aichat/functions
messages_file /Users/ABC123/Library/Application Support/aichat/messages.md
log_path /Users/ABC123/Library/Application Support/aichat/aichat.log
Environment (please complete the following information):
- os version: MacOS Sequoia 15.3.1
- aichat version: 0.28.0
- terminal version: Ghostty 1.1.2 build 9416
Additional context
I've tried setting my terminal with export USE_DEV_TTY=1
, still get the same error result