diff options
| author | Paul Buetow <paul@buetow.org> | 2026-03-23 08:33:07 +0200 |
|---|---|---|
| committer | Paul Buetow <paul@buetow.org> | 2026-03-23 08:33:07 +0200 |
| commit | 56c2c4f64ba1712f7cab28a8dc92a3c14b20eb1d (patch) | |
| tree | 4088f6ceddbfdea3877cd7c7343397a8b0e78d36 /internal/version.go | |
| parent | 3ea11bc5d671d962d01b57fa0fba0bda611025fe (diff) | |
refactor: split oversized functions, fix double logging, add %w wrapping
- lsp/handlers_completion.go: extract buildNativeCompletionCacheKey and
postProcessNativeCompletion; track collectFirstCompletion in inflight;
remove redundant logLLMStats("") on error path
- lsp/handlers.go: extract checkTriggerFromContext and
checkTriggerFromCursorChar; isTriggerEvent reduced from 63→10 lines
- lsp/transport.go: use %w for error wrapping in Content-Length parse
- llm/ollama.go: extract parseOllamaStream; ChatStream reduced to ~35 lines
- appconfig/config_load.go: extract decodeModelEntryFromMap; rename 'any'
to 'found'; decodeModelEntry reduced to ~18 lines
- llm/provider.go: document why providerRegistry is package-level
- integrationtests/ask_test.go: add //go:build integration; move repoRoot
init from init() to TestMain with diagnostic message
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Diffstat (limited to 'internal/version.go')
0 files changed, 0 insertions, 0 deletions
