Skip to content

[bug][documentation] LSP Tools #1818

@k33g

Description

@k33g

The example shown in https://docker.github.io/cagent/#tools/lsp does not work

    toolsets:
      - type: lsp
        command: gopls
        args: []
        file_types: [".go"]

Error:

parsing config file
[12:3] unknown field "file_types"
   9 | - type: think
  10 | - args: []
  11 |   command: gopls
> 12 |   file_types:
         ^
  13 |   - .go
  14 |   type: lsp

This works:

    toolsets:
      - type: lsp
        command: gopls

Metadata

Metadata

Assignees

Labels

kind/bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions