Using stock emacs 29.4, with minimal condig changes.
part related to completion from my config:
"completion": {
"model": "github-copilot/gpt-4o"
},
"prompts": {
"completion": "${file:/home/tester/.config/eca/prompts/completion.md}"
},
To Reproduce
Steps to reproduce the behavior:
- Start emacs
- open some python codefile
- M-x eca
- switch to code buffer
- M-x eca-completion-mode
- move cursor to place where there is wanted complation and..
- M-x eca-complete
- server crash occurs
Expected behavior
i have no idea how the completion should work in stock emacs, but likely no crashes? or is my config missing something?
Doctor
Using latest eca-emacs and eca 129.2 (but tested that crash occurs also using latest 130.1)
stack trace
#error {
:cause Wrong number of args (0) passed to: clojure.core/identity
:via
[{:type clojure.lang.ArityException
:message Wrong number of args (0) passed to: clojure.core/identity
:at [clojure.lang.AFn throwArity AFn.java 429]}]
:trace
[[clojure.lang.AFn throwArity AFn.java 429]
[clojure.lang.AFn invoke AFn.java 28]
[eca.features.login$maybe_renew_auth_token_BANG_ invokeStatic login.clj 97]
[eca.features.login$maybe_renew_auth_token_BANG_ invoke login.clj 92]
[eca.features.completion$complete invokeStatic completion.clj 35]
[eca.features.completion$complete invoke completion.clj 32]
[eca.handlers$completion_inline invokeStatic handlers.clj 402]
[eca.handlers$completion_inline invoke handlers.clj 399]
[eca.server$fn__24834$fn__24835 invoke server.clj 186]
[promesa.exec$wrap_bindings$fn__23616 invoke exec.cljc 163]
[promesa.util.Supplier get util.cljc 34]
[java.util.concurrent.CompletableFuture$AsyncSupply run CompletableFuture.java 1814]
[java.util.concurrent.ThreadPoolExecutor runWorker ThreadPoolExecutor.java 1095]
[java.util.concurrent.ThreadPoolExecutor$Worker run ThreadPoolExecutor.java 619]
[java.lang.Thread runWith Thread.java 1460]
[java.lang.Thread run Thread.java 1447]
[com.oracle.svm.core.thread.PlatformThreads threadStartRoutine PlatformThreads.java 832]
[com.oracle.svm.core.thread.PlatformThreads threadStartRoutine PlatformThreads.java 808]]} Error receiving message: Internal error (-32603)
{:id 2, :method "completion/inline"}
Using stock emacs 29.4, with minimal condig changes.
part related to completion from my config:
"completion": {
"model": "github-copilot/gpt-4o"
},
"prompts": {
"completion": "${file:/home/tester/.config/eca/prompts/completion.md}"
},
To Reproduce
Steps to reproduce the behavior:
Expected behavior
i have no idea how the completion should work in stock emacs, but likely no crashes? or is my config missing something?
Doctor
Using latest eca-emacs and eca 129.2 (but tested that crash occurs also using latest 130.1)
stack trace
#error {
:cause Wrong number of args (0) passed to: clojure.core/identity
:via
[{:type clojure.lang.ArityException
:message Wrong number of args (0) passed to: clojure.core/identity
:at [clojure.lang.AFn throwArity AFn.java 429]}]
:trace
[[clojure.lang.AFn throwArity AFn.java 429]
[clojure.lang.AFn invoke AFn.java 28]
[eca.features.login$maybe_renew_auth_token_BANG_ invokeStatic login.clj 97]
[eca.features.login$maybe_renew_auth_token_BANG_ invoke login.clj 92]
[eca.features.completion$complete invokeStatic completion.clj 35]
[eca.features.completion$complete invoke completion.clj 32]
[eca.handlers$completion_inline invokeStatic handlers.clj 402]
[eca.handlers$completion_inline invoke handlers.clj 399]
[eca.server$fn__24834$fn__24835 invoke server.clj 186]
[promesa.exec$wrap_bindings$fn__23616 invoke exec.cljc 163]
[promesa.util.Supplier get util.cljc 34]
[java.util.concurrent.CompletableFuture$AsyncSupply run CompletableFuture.java 1814]
[java.util.concurrent.ThreadPoolExecutor runWorker ThreadPoolExecutor.java 1095]
[java.util.concurrent.ThreadPoolExecutor$Worker run ThreadPoolExecutor.java 619]
[java.lang.Thread runWith Thread.java 1460]
[java.lang.Thread run Thread.java 1447]
[com.oracle.svm.core.thread.PlatformThreads threadStartRoutine PlatformThreads.java 832]
[com.oracle.svm.core.thread.PlatformThreads threadStartRoutine PlatformThreads.java 808]]} Error receiving message: Internal error (-32603)
{:id 2, :method "completion/inline"}