Update prompt build script and shared guidelines
This commit is contained in:
parent
a7c74b837e
commit
d8ebae3aed
2 changed files with 9 additions and 8 deletions
|
|
@ -1,5 +1,5 @@
|
||||||
MOST IMPORTANT CODE GENERATION RULES:
|
MOST IMPORTANT CODE GENERATION RULES:
|
||||||
- No placeholders, no comments, no explanations, no filler text.
|
- No placeholders, never comment/uncomment code, no explanations, no filler text.
|
||||||
- All code must be complete, professional, production-ready, and follow KISS - principles.
|
- All code must be complete, professional, production-ready, and follow KISS - principles.
|
||||||
- NEVER return placeholders of any kind, neither commented code, only REAL PRODUCTION GRADE code.
|
- NEVER return placeholders of any kind, neither commented code, only REAL PRODUCTION GRADE code.
|
||||||
- Always increment logging with info! to give birth to the console.
|
- Always increment logging with info! to give birth to the console.
|
||||||
|
|
|
||||||
|
|
@ -9,7 +9,7 @@ echo "Consolidated LLM Context" > "$OUTPUT_FILE"
|
||||||
prompts=(
|
prompts=(
|
||||||
"../../prompts/dev/shared.md"
|
"../../prompts/dev/shared.md"
|
||||||
"../../Cargo.toml"
|
"../../Cargo.toml"
|
||||||
#../../prompts/dev/fix.md"
|
#"../../prompts/dev/fix.md"
|
||||||
"../../prompts/dev/generation.md"
|
"../../prompts/dev/generation.md"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
@ -24,8 +24,8 @@ dirs=(
|
||||||
#"basic"
|
#"basic"
|
||||||
"bot"
|
"bot"
|
||||||
"channels"
|
"channels"
|
||||||
#"config"
|
"config"
|
||||||
#"context"
|
"context"
|
||||||
#"email"
|
#"email"
|
||||||
#"file"
|
#"file"
|
||||||
"llm"
|
"llm"
|
||||||
|
|
@ -47,11 +47,12 @@ for dir in "${dirs[@]}"; do
|
||||||
done
|
done
|
||||||
|
|
||||||
# Also append the specific files you mentioned
|
# Also append the specific files you mentioned
|
||||||
|
echo "$PROJECT_ROOT/src/main.rs" >> "$OUTPUT_FILE"
|
||||||
cat "$PROJECT_ROOT/src/main.rs" >> "$OUTPUT_FILE"
|
cat "$PROJECT_ROOT/src/main.rs" >> "$OUTPUT_FILE"
|
||||||
# cat "$PROJECT_ROOT/src/basic/keywords/hear_talk.rs" >> "$OUTPUT_FILE"
|
|
||||||
# cat "$PROJECT_ROOT/src/basic/keywords/get.rs" >> "$OUTPUT_FILE"
|
cat "$PROJECT_ROOT/src/basic/keywords/hear_talk.rs" >> "$OUTPUT_FILE"
|
||||||
cat "$PROJECT_ROOT/src/basic/keywords/llm_keyword.rs" >> "$OUTPUT_FILE"
|
echo "$PROJECT_ROOT/src/basic/mod.rs">> "$OUTPUT_FILE"
|
||||||
# cat "$PROJECT_ROOT/src/basic/mod.rs" >> "$OUTPUT_FILE"
|
cat "$PROJECT_ROOT/src/basic/mod.rs" >> "$OUTPUT_FILE"
|
||||||
|
|
||||||
|
|
||||||
echo "" >> "$OUTPUT_FILE"
|
echo "" >> "$OUTPUT_FILE"
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue