direct_prompt
-> prompt
v1 migration
#490
jerry-reevo
started this conversation in
General
Replies: 1 comment 14 replies
-
You can include the github context in your prompt string like:
|
Beta Was this translation helpful? Give feedback.
14 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I just migrated to
v1
and replaceddirect_prompt
withprompt
as recommended by the migration guide, however, it seems to produce wildly different behavior, nearly dysfunctional.It looks like before with
direct_prompt
, the provided prompt was inserted into the middle of a larger system prompt constructed byclaude-code-action
and simply moving toprompt
overrides the additional context that was being provided.Critical context such as the PR number, trigger context, author, repository, etc is no longer automatically provided and the agent now tries to review random repos and PRs until it finds one it can successfully access.
Is there a way to provide fairly long prompts while using the built-in PR review prompt? It sounds like using the
--system-prompt
or--append-system-prompt
claude_args
might do the trick, but if we have a long multi-line prompt, providing it as a CLI arg is very hard to read and manage.Beta Was this translation helpful? Give feedback.
All reactions