Skip to content

Commit c765bff

Browse files
committed
fix the default chapter number
1 parent 10a7012 commit c765bff

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

main.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ def main():
4141
# Add use_cache parameter to control LLM caching
4242
parser.add_argument("--no-cache", action="store_true", help="Disable LLM response caching (default: caching enabled)")
4343
# Add max_abstraction_num parameter to control the number of abstractions
44-
parser.add_argument("--max-abstractions", type=int, default=10, help="Maximum number of abstractions to identify (default: 20)")
44+
parser.add_argument("--max-abstractions", type=int, default=10, help="Maximum number of abstractions to identify (default: 10)")
4545

4646
args = parser.parse_args()
4747

nodes.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ def prep(self, shared):
8686
project_name = shared["project_name"] # Get project name
8787
language = shared.get("language", "english") # Get language
8888
use_cache = shared.get("use_cache", True) # Get use_cache flag, default to True
89-
max_abstraction_num = shared.get("max_abstraction_num", 10) # Get max_abstraction_num, default to 20
89+
max_abstraction_num = shared.get("max_abstraction_num", 10) # Get max_abstraction_num, default to 10
9090

9191
# Helper to create context from files, respecting limits (basic example)
9292
def create_llm_context(files_data):
@@ -693,7 +693,7 @@ def exec(self, item):
693693
694694
- Explain how to use this abstraction to solve the use case{instruction_lang_note}. Give example inputs and outputs for code snippets (if the output isn't values, describe at a high level what will happen{instruction_lang_note}).
695695
696-
- Each code block should be BELOW 20 lines! If longer code blocks are needed, break them down into smaller pieces and walk through them one-by-one. Aggresively simplify the code to make it minimal. Use comments{code_comment_note} to skip non-important implementation details. Each code block should have a beginner friendly explanation right after it{instruction_lang_note}.
696+
- Each code block should be BELOW 10 lines! If longer code blocks are needed, break them down into smaller pieces and walk through them one-by-one. Aggresively simplify the code to make it minimal. Use comments{code_comment_note} to skip non-important implementation details. Each code block should have a beginner friendly explanation right after it{instruction_lang_note}.
697697
698698
- Describe the internal implementation to help understand what's under the hood{instruction_lang_note}. First provide a non-code or code-light walkthrough on what happens step-by-step when the abstraction is called{instruction_lang_note}. It's recommended to use a simple sequenceDiagram with a dummy example - keep it minimal with at most 5 participants to ensure clarity. If participant name has space, use: `participant QP as Query Processing`. {mermaid_lang_note}.
699699

0 commit comments

Comments
 (0)