mirror of
https://github.com/windmill-labs/windmill.git
synced 2026-08-22 16:02:24 +00:00
better
This commit is contained in:
+2
-12
@@ -1,6 +1,4 @@
|
||||
# Probe
|
||||
|
||||
[](https://www.npmjs.com/package/@buger/probe)
|
||||
# Probe Usage
|
||||
|
||||
Probe is a powerful, AI-augmented code search and extraction tool. It combines fast, tree-sitter–powered queries with optional LLM integration to help you find, extract, and understand code across any codebase.
|
||||
|
||||
@@ -25,19 +23,11 @@ curl -fsSL https://raw.githubusercontent.com/buger/probe/main/install.sh | bash
|
||||
Search for code containing specific phrases in the current directory:
|
||||
|
||||
```bash
|
||||
probe search "parser" ./
|
||||
probe search "parser" ./backend
|
||||
```
|
||||
|
||||
This will search for the terms "parser" in your codebase and return the most relevant code blocks.
|
||||
|
||||
## 🔄 Advanced Search (with Token Limiting)
|
||||
|
||||
Limit the total tokens for AI tools with context window constraints:
|
||||
|
||||
```bash
|
||||
probe search "prompt injection" ./ --max-tokens 10000
|
||||
```
|
||||
|
||||
## 💾 Session-Based Caching
|
||||
|
||||
Use session IDs to avoid seeing the same code blocks multiple times in related searches:
|
||||
|
||||
Reference in New Issue
Block a user