Update prompts.
This commit is contained in:
3
prompts/get_staged_context.sh
Executable file
3
prompts/get_staged_context.sh
Executable file
@@ -0,0 +1,3 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
git diff --name-only --cached | xargs -I {} echo -i "{}" | xargs code2prompt -c .
|
||||||
@@ -27,7 +27,7 @@ MODEL="gemini-3-flash-preview"
|
|||||||
FALLBACK="claude-sonnet-4.6"
|
FALLBACK="claude-sonnet-4.6"
|
||||||
|
|
||||||
context() {
|
context() {
|
||||||
code2prompt $(git diff --name-only --cached | sed 's/.*/-i "&"/') .
|
git diff --name-only --cached | xargs -I {} echo -i "{}" | xargs code2prompt .
|
||||||
}
|
}
|
||||||
|
|
||||||
diff() {
|
diff() {
|
||||||
Reference in New Issue
Block a user