-
Notifications
You must be signed in to change notification settings - Fork 66
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
fix: use of system prompt #13
Conversation
WalkthroughThe pull request modifies the Changes
Poem
📜 Recent review detailsConfiguration used: CodeRabbit UI 📒 Files selected for processing (1)
🚧 Files skipped from review as they are similar to previous changes (1)
🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
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 (
|
I actually think the system prompt should be set in the LLMClient at init time - my mental model is that you want it to be "active" during the whole session - but I'm still not 100% familiar with the codebase so maybe it does not make sense here? Thoughts? |
System prompt should be dynamic based on what you are calling - so it will change depending on the prompts |
b17c2af
to
40f3626
Compare
The way to set a system prompt for Claude is via a designated
system
parameter, not as a message with an "assistant" role (that actually tells Claude that that message was his response). This PR fixes the bug.Summary by CodeRabbit