summaryrefslogtreecommitdiffhomepage
path: root/internal/llm
diff options
context:
space:
mode:
authorAdictya <[email protected]>2025-05-15 08:46:40 +0530
committerAdam <[email protected]>2025-05-15 08:29:54 -0500
commit3ee213081ec6bf42f6947d03e256319c29a8ce0e (patch)
treeb5da8dc591d7b78c2a6b31eb77bdbc9ac48d223b /internal/llm
parent15bf40bc102ed5426fa2148b9e8f39acef1174a0 (diff)
downloadopencode-3ee213081ec6bf42f6947d03e256319c29a8ce0e.tar.gz
opencode-3ee213081ec6bf42f6947d03e256319c29a8ce0e.zip
fix(complete-module): logging
Diffstat (limited to 'internal/llm')
-rw-r--r--internal/llm/tools/glob.go3
1 files changed, 2 insertions, 1 deletions
diff --git a/internal/llm/tools/glob.go b/internal/llm/tools/glob.go
index 6b6cab191..43b7bf0ba 100644
--- a/internal/llm/tools/glob.go
+++ b/internal/llm/tools/glob.go
@@ -12,6 +12,7 @@ import (
"github.com/sst/opencode/internal/config"
"github.com/sst/opencode/internal/fileutil"
+ "github.com/sst/opencode/internal/status"
)
const (
@@ -133,7 +134,7 @@ func globFiles(pattern, searchPath string, limit int) ([]string, bool, error) {
if err == nil {
return matches, len(matches) >= limit && limit > 0, nil
}
- // logging.Warn(fmt.Sprintf("Ripgrep execution failed: %v. Falling back to doublestar.", err))
+ status.Warn(fmt.Sprintf("Ripgrep execution failed: %v. Falling back to doublestar.", err))
}
return fileutil.GlobWithDoublestar(pattern, searchPath, limit)