Skip to content

Commit c0c0d51

Browse files
fix lint
1 parent a1a833f commit c0c0d51

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

rag.go

+3
Original file line numberDiff line numberDiff line change
@@ -224,6 +224,9 @@ func (s *sqliteRAGStore) PopulateGuidelines(ctx context.Context, language string
224224

225225
console.StartSpinner("Processing guidelines...")
226226
chunkConfig, err := NewChunkConfig(WithStrategy(ChunkBySize))
227+
if err != nil {
228+
return fmt.Errorf("failed to create chunking strategy: %w", err)
229+
}
227230

228231
s.log.Debug(ctx, "Fetched %d guidelines", len(guidelines))
229232

0 commit comments

Comments
 (0)