Skip to content

Cannot read properties of undefined (reading 'sendRequest') #4186

Description

@sanderDijkxhoorn

Description

Ruby LSP Information

VS Code Version

1.131.0

Ruby LSP Extension Version

0.10.6

Ruby LSP Server Version

0.26.10

Ruby LSP Add-ons

  • Ruby LSP Rails (0.4.8)
  • RuboCop (1.88.2)

Ruby Version

3.4.10

Ruby Version Manager

mise

Installed Extensions

Click to expand

(I had to redact others, sorry)

  • ruby-lsp (0.10.6)

Ruby LSP Settings

Click to expand
Workspace
{}
User
{
  "enabledFeatures": {
    "codeActions": true,
    "diagnostics": true,
    "documentHighlights": true,
    "documentLink": true,
    "documentSymbols": true,
    "foldingRanges": true,
    "formatting": true,
    "hover": true,
    "inlayHint": true,
    "onTypeFormatting": true,
    "selectionRanges": true,
    "semanticHighlighting": true,
    "completion": true,
    "codeLens": true,
    "definition": true,
    "workspaceSymbol": true,
    "signatureHelp": true,
    "typeHierarchy": true
  },
  "featuresConfiguration": {},
  "addonSettings": {},
  "rubyVersionManager": {
    "identifier": "auto"
  },
  "customRubyCommand": "",
  "formatter": "auto",
  "linters": null,
  "bundleGemfile": "",
  "testTimeout": 30,
  "pullDiagnosticsOn": "both",
  "useBundlerCompose": false,
  "bypassTypechecker": false,
  "rubyExecutablePath": "",
  "indexing": {},
  "erbSupport": true,
  "featureFlags": {},
  "sigOpacityLevel": "1"
}

Reproduction steps

  1. Open VSCode Copilot Chat in agent mode in this example I was using my own Qwen3.6-35B-A3B-NVFP4 server (running with vLLM, which does support tool calling)
  2. Run @ruby /design Any prompt
  3. See unexpected behavior Error message
Cannot read properties of undefined (reading 'sendRequest')

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions