diff --git a/configs/init-ai.el b/configs/init-ai.el index 9981617..3a6e284 100644 --- a/configs/init-ai.el +++ b/configs/init-ai.el @@ -235,8 +235,9 @@ content do not break gptel-magit." (use-package acp) (use-package agent-shell - :after (shell-maker acp) - :hook (elpaca-after-init . (lambda () (defalias 'opencode #'agent-shell-opencode-start-agent))) + :init + (defalias 'opencode #'agent-shell-opencode-start-agent) + (defalias 'pi #'agent-shell-pi-start-agent) :config (setq agent-shell-opencode-authentication (agent-shell-opencode-make-authentication :none t))