Skip to content

agent-shell-new-shell works different than agent-shell-google-start-gemini #396

@wmedrano

Description

@wmedrano

Checklist

  • I agree to communicate with the author myself (not AI-generated).
  • I've read the README's Filing issues section.
  • I'm running the latest versions (fill in below).
    • agent-shell:
    • acp.el:
    • ACP package (e.g. claude-code-acp):
    • Agent CLI (e.g. claude, gemini):
  • For requesting new agent support, I'm including a link to the ACP-capable agent or related ACP package.
  • For issues, I'm including ACP traffic (as per README).

Auth

I have the following config which seems to not be applied with agent-shell-new-shell

(setq-default agent-shell-google-authentication
              (agent-shell-google-make-authentication :none t))

agent-shell-google-start-gemini probably works because it creates the config on the spot where as agent-shell-new-shell uses the defaults when loaded.

(defcustom agent-shell-agent-configs
  (agent-shell--make-default-agent-configs) ;; <---- too soon, I haven't set authentication
  "The list of known agent configurations.

See `agent-shell-*-make-*-config' for details."
  :type '(repeat (alist :key-type symbol :value-type sexp))
  :group 'agent-shell)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions