diff options
| author | Paul Buetow <paul@buetow.org> | 2025-08-16 17:51:44 +0300 |
|---|---|---|
| committer | Paul Buetow <paul@buetow.org> | 2025-08-16 17:51:44 +0300 |
| commit | 1b01e35c34b953cbf51298f4650dc3215c382a4f (patch) | |
| tree | d110ee48f9baa382b1906e74f45d42a264351f4c /internal | |
| parent | 77ff5d250ecc5cc8d4a493f4b98c5b82c6b84283 (diff) | |
feat(logging): add LLM stats (averages and per-minute)v0.0.2
Diffstat (limited to 'internal')
| -rw-r--r-- | internal/lsp/handlers.go | 3 | ||||
| -rw-r--r-- | internal/version.go | 2 |
2 files changed, 2 insertions, 3 deletions
diff --git a/internal/lsp/handlers.go b/internal/lsp/handlers.go index ae43b4c..d8c13a1 100644 --- a/internal/lsp/handlers.go +++ b/internal/lsp/handlers.go @@ -278,10 +278,9 @@ func inParamList(current string, cursor int) bool { return open >= 0 && cursor > open && (close == -1 || cursor <= close) } -// TODO: Not just be a Go code completion engine, make this flexible. func buildPrompts(inParams bool, p CompletionParams, above, current, below, funcCtx string) (string, string) { if inParams { - sys := "You are a terse Go code completion engine for function signatures. Return only the parameter list contents (without parentheses), no braces, no prose. Prefer idiomatic names and types." + sys := "You are a code completion engine for function signatures. Return only the parameter list contents (without parentheses), no braces, no prose. Prefer idiomatic names and types." user := fmt.Sprintf("Cursor is inside the function parameter list. Suggest only the parameter list (no parentheses).\nFunction line: %s\nCurrent line (cursor at %d): %s", funcCtx, p.Position.Character, current) return sys, user } diff --git a/internal/version.go b/internal/version.go index 673db85..e9c3a2b 100644 --- a/internal/version.go +++ b/internal/version.go @@ -1,3 +1,3 @@ package internal -const Version = "0.0.1" +const Version = "0.0.2" |
