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 Chat Panel keep throw [Network] undefined errors #3723

Open
emadgit opened this issue Jan 18, 2025 · 2 comments
Open

Tabby Chat Panel keep throw [Network] undefined errors #3723

emadgit opened this issue Jan 18, 2025 · 2 comments

Comments

@emadgit
Copy link

emadgit commented Jan 18, 2025

Describe the bug
Installed Tabby in my local and while Code completion seems to work, the chat feature keep showing the following error for each prompt:

{
  "error": true,
  "message": "[Network] undefined"
}
Image

The server is running with a chat model and it's connected. I run the server using following command and server seems running tabby serve --device metal --model StarCoder-1B --chat-model Qwen2-1.5B-Instruct. But the chat part is keep failing and I don't see any errors in the output panel either.

Image

Information about your version
tabby 0.23.0

Information about your GPU
Graphics/Displays:

Apple M1 Pro:

  Chipset Model: Apple M1 Pro
  Type: GPU
  Bus: Built-In
  Total Number of Cores: 16
  Vendor: Apple (0x106b)
  Metal Support: Metal 3
  Displays:
    Color LCD:
      Display Type: Built-in Liquid Retina XDR Display
      Resolution: 3456 x 2234 Retina
      Main Display: Yes
      Mirror: Off
      Online: Yes
      Automatically Adjust Brightness: Yes
      Connection Type: Internal
@wsxiaoys
Copy link
Member

Hi - could you use the Webview Developer Tools to inspect the error inside chat panel?

Image

@emadgit
Copy link
Author

emadgit commented Jan 19, 2025

Hi - could you use the Webview Developer Tools to inspect the error inside chat panel?

Image

Hi @wsxiaoys - there's no error, after sending a prompt, it will send a graphql query which is a success ( 200 OK ) and 5 calls to ws://127.0.0.1:8080/subscriptions with type:"connection_init" which all of them are 101 Switching Protocols and lastly I see that error in chat box, but no network error shown

Image

Also nothing in console logs and inspect the element is just show the same error

Image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants