Skip to content

Issue with Tabby Completions Choices - Text Field Empty #3696

@vannchic

Description

@vannchic

I am experiencing an issue where the text field in Tabby completions choices is always empty. Additionally, the system shows "Unreachable: Failed to connect to the completion model." I am using OpenAI's model, and I can confirm that I have normal access to OpenAI services. Can anyone help me troubleshoot this issue?

version V0.23.0

image
image

~/.tabby/config.toml

# Chat model
[model.chat.http]
kind = "openai/chat"
model_name = "gpt-4o"  # Please make sure to use a chat model, such as gpt-4o
api_endpoint = "http://api.openai.com/v1"   # DO NOT append the `/chat/completions` suffix
api_key = "skxxx"

# Completion model
[model.completion.http]
kind = "openai/completion"
model_name = "gpt-4o"   # Please make sure to use a completion model, such as gpt-3.5-turbo-instruct
api_endpoint = "http://api.openai.com/v1"   # DO NOT append the `/chat/completions` suffix
api_key = "skxxx"

# Embedding model
[model.embedding.http]
kind = "openai/embedding"
model_name = "text-embedding-3-large"   # Please make sure to use a embedding model, such as text-embedding-3-small
api_endpoint = "http://api.openai.com/v1"   # DO NOT append the `/chat/completions` suffix
api_key = "skxxx"

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions