-
Couldn't load subscription status.
- Fork 183
Share more logic for system prompt templating #727
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
|
Warning Rate limit exceeded@aantn has exceeded the limit for the number of commits or files that can be reviewed per hour. Please wait 14 minutes and 9 seconds before requesting another review. ⌛ How to resolve this issue?After the wait time has elapsed, a review can be triggered using the We recommend that you space out your commits to avoid hitting the rate limit. 🚦 How do rate limits work?CodeRabbit enforces hourly rate limits for each developer per organization. Our paid plans have higher rate limits than the trial, open-source and free plans. In all cases, we re-allow further reviews after a brief timeout. Please see our FAQ for further information. 📒 Files selected for processing (7)
WalkthroughThe changes refactor how system prompts are handled in the interactive "ask" workflow. The system prompt is no longer passed or rendered externally; instead, it is loaded and rendered within Changes
Sequence Diagram(s)sequenceDiagram
participant User
participant CLI (main.py)
participant InteractiveLoop
participant PromptBuilder
participant ToolExecutor
participant Runbooks
User->>CLI (main.py): Run "ask" command
CLI (main.py)->>InteractiveLoop: run_interactive_loop(..., runbooks, system_prompt_additions)
InteractiveLoop->>PromptBuilder: build_initial_ask_messages(console, user_input, files, ToolExecutor, runbooks, system_prompt_additions)
PromptBuilder->>ToolExecutor: Get toolsets
PromptBuilder->>Runbooks: (Optional) Use runbooks in context
PromptBuilder->>PromptBuilder: Render system prompt internally with additions
PromptBuilder->>InteractiveLoop: Return initial messages
InteractiveLoop->>User: Begin interactive session
Estimated code review effort🎯 3 (Moderate) | ⏱️ ~15 minutes Possibly related PRs
Suggested reviewers
✨ Finishing Touches
🧪 Generate unit tests
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. 🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
SupportNeed help? Create a ticket on our support page for assistance with any issues or questions. Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
CodeRabbit Configuration File (
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
No description provided.