Skip to content

Commit bf5f94c

Browse files
authored
fix(nvim): fix type annotation for summarisation adapter. (#281)
1 parent 3f30dcb commit bf5f94c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lua/vectorcode/types.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@
130130
--- - `VectorCode.QueryResult[]`: a list of query results.
131131
---@field enabled boolean|(fun(chat: CodeCompanion.Chat, results: VectorCode.QueryResult[]):boolean)|nil
132132
---The adapter used for the summarisation task. When set to `nil`, the adapter from the current chat will be used.
133-
---@field adapter string|CodeCompanion.HTTPAdapter|nil
133+
---@field adapter string|CodeCompanion.HTTPAdapter|fun():CodeCompanion.HTTPAdapter|nil
134134
---The system prompt sent to the summariser model.
135135
---When set to a function, it'll recieve the default system prompt as the only parameter,
136136
---and should return the new (full) system prompt. This allows you to customise or rewrite the system prompt.

0 commit comments

Comments
 (0)