Skip to content

Tabby agent completion requests cancelled for no clear reason #34

@jakubgs

Description

@jakubgs

I'm trying to use vim-tabby with my neovim setup and I'm seeing no results.

I looked at ~/.tabby-client/agent/logs/current.log log and found logs like this:

{"level":20,"tag":"CompletionProvider","msg":"Collecting snippets from recently changed files..."}
{"level":20,"tag":"CompletionProvider","msg":"Completed collecting snippets from recently changed files."}
{"level":20,"tag":"CompletionProvider","msg":"Starting collecting snippets from opened files."}
{"level":20,"tag":"CompletionProvider","msg":"Completed collecting snippets from opened files."}
{"level":20,"tag":"CompletionProvider","msg":"Function providedCompletions called."}
{"level":20,"tag":"TabbyApiClient","msg":"Completion request canceled. [4c9d9197-428e-4f41-a15e-17702cff4d85]"}
{"level":30,"tag":"CompletionProvider","msg":"Fetching completion canceled."}
{"level":30,"tag":"CompletionProvider","msg":"Fetching completion..."}
{"level":20,"tag":"TabbyApiClient","msg":"Completion request: POST http://localhost:11029/v1/completions. [5eb30a7b-0ba8-4ad2-9edf-f9eeb7af4ac3]"}

I have no idea why it says that fetching was cancelled but I cannot find any explanation for it in Tabby server logs either:

DEBUG completions{allowed_code_repository=AllowedCodeRepository { list: [CodeRepository { git_url: "file:///home/jakubgs/work/example-a", source_id: "git:L1PL1J" }, CodeRepository { git_url: "file:///home/jakubgs/work/example-b", source_id: "git:nwYawr" }, CodeRepository { git_url: "file:///home/jakubgs/work/example-c", source_id: "git:JGOLw7" }, CodeRepository { git_url: "file:///home/jakubgs/work/example-d", source_id: "git:DGJgw0" }, CodeRepository { git_url: "file:///home/jakubgs/work/example-e", source_id: "git:bGED19" }, CodeRepository { git_url: "file:///home/jakubgs/work/example-f", source_id: "git:jNRZNQ" }] } user=Some("E16n1q") user_agent=Some(TypedHeader(UserAgent("Node.js/v22.14.0 tabby-agent/1.9.0-dev Neovim/0.11.2")))}: hyper_util::client::legacy::connect::http: /build/tabby-0.28.0-vendor/hyper-util-0.1.5/src/client/legacy/connect/http.rs:634: connected to 127.0.0.1:30889

I have no idea how to debug this further.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions