Skip to content

tabby complete returns error #6

Description

@marvinlnnx

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)
.
.
.

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