Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

tabby complete returns error #6

Open
marvinlnnx opened this issue Apr 14, 2024 · 0 comments
Open

tabby complete returns error #6

marvinlnnx opened this issue Apr 14, 2024 · 0 comments

Comments

@marvinlnnx
Copy link

marvinlnnx commented Apr 14, 2024

I have tried two different model of tabby and I have installed tabby-mode on my doom-emacs, and also I have added the url to the url but it returns error:

error in process filter: Symbol's value as variable is void: callback

I used these 2 models:

~ ❯❯❯ tabby serve --device metal --model StarCoder-7B
Writing to new file.
🎯 Downloaded https://huggingface.co/TabbyML/models/resolve/main/starcoderbase-7B.Q8_0.gguf to /Users/marvin/.tabby/models/TabbyML/StarCoder-7B/ggml/q8_0.v2.gguf.tmp
   00:21:01 ▕████████████████████▏ 7.46 GiB/7.46 GiB  6.06 MiB/s  ETA 0s.                                                                                                                                                                                                                                2024-04-14T02:05:39.926525Z  INFO tabby::serve: crates/tabby/src/serve.rs:118: Starting server, this might take a few minutes...
2024-04-14T02:05:52.036344Z  INFO tabby::routes: crates/tabby/src/routes/mod.rs:35: Listening at 0.0.0.0:8080

(base)
 ~ ❯❯❯ tabby serve --device metal --model StarCoder-7B
2024-04-14T02:31:53.227943Z  INFO tabby::serve: crates/tabby/src/serve.rs:118: Starting server, this might take a few minutes...
2024-04-14T02:31:54.087556Z  INFO tabby::routes: crates/tabby/src/routes/mod.rs:35: Listening at 0.0.0.0:8080
^C
(base)
 ~ ❯❯❯ tabby serve --device metal --model StarCoder-1B
2024-04-14T02:33:46.348387Z  INFO tabby::serve: crates/tabby/src/serve.rs:118: Starting server, this might take a few minutes...
2024-04-14T02:33:48.574506Z  INFO tabby::routes: crates/tabby/src/routes/mod.rs:35: Listening at 0.0.0.0:8080

by the way I have copied the tabby.el content to custom.el and updated the url and restarted my emacs

(require 'json)
(require 'subr-x)
(require 'url)
(require 'url-http)

(eval-when-compile
  (defvar url-http-end-of-headers))

(defgroup tabby nil
  "Minor mode for the Tabby AI coding assistant."
  :link '(url-link "htps://tabby.tabbyml.com")
  :group 'programming)

(defcustom tabby-api-url "http://127.0.0.1:8080"
  "URL to Tabby API."
  :type 'string
  :group 'tabby)
.
.
.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant