Droid: use native acp client and support default model and mode#446
Droid: use native acp client and support default model and mode#446kohnish wants to merge 1 commit intoxenodium:mainfrom
Conversation
xenodium
left a comment
There was a problem hiding this comment.
Thank you for the PR. Left you some comments to address. Could you please take a look?
Also, more importantly, have you been using this setup for some time? Is it working better for you? I'm not a droid user, so I wouldn't be a good judge of it. I'm justr trying to be mindful of anyone who's been using the current server and may experience a regression in functionality. Could you please share your experience?
agent-shell-droid.el
Outdated
|
|
||
| (defcustom agent-shell-droid-acp-command | ||
| '("droid-acp") | ||
| (list "droid" "exec" "--reasoning-effort" agent-shell-droid-default-reasoning-effort "--output-format" "acp") |
There was a problem hiding this comment.
Using agent-shell-droid-default-reasoning-effort here will be problematic. Users may change agent-shell-droid-default-reasoning-effort but the new effort does not become active even after creating a new agent-shell session. Also setting to nil will break the command.
Let's leave this defcustom as it was and instead modify agent-shell-droid-make-client with something like:
(agent-shell--make-acp-client :command (seq-first agent-shell-droid-acp-command)
:command-params (append (seq-rest agent-shell-droid-acp-command)
(when agent-shell-droid-default-reasoning-effort
(list "--reasoning-effort"
agent-shell-droid-default-reasoning-effort)))
:environment-variables (append ...)
:context-buffer buffer)| It can be one of the followings. | ||
| none, dynamic, off, minimal, low, medium, high, xhigh, max" | ||
| :type '(choice (const nil) string) | ||
| :group 'agent-shell) |
There was a problem hiding this comment.
We should drop none and accept nil (default value), which signals not to include the setting at all (and document what nil does).
| @@ -133,13 +133,13 @@ See https://github.com/mistralai/mistral-vibe for details. | |||
|
|
|||
| *** Factory Droid | |||
There was a problem hiding this comment.
We need to update install instructions also
5e3078d to
5c62d37
Compare
|
Thank you for the changes!
Could you comment on this please? |
Sorry, I missed your original comment. |
|
Thank you! I'll wait for your signal to merge. |
Thank you for contributing to agent-shell!
Checklist
M-x checkdocandM-x byte-compile-file.