mirror of
https://github.com/qodo-ai/pr-agent.git
synced 2025-07-04 04:40:38 +08:00
Refine the prompt for add_docs
command
I found that without it, python docstrings are sometimes suggested above the function signature, instead of below.
This commit is contained in:
@ -69,6 +69,7 @@ Code Documentation:
|
|||||||
- after
|
- after
|
||||||
description: |-
|
description: |-
|
||||||
The {{ docs_for_language }} placement relative to the relevant line (code component).
|
The {{ docs_for_language }} placement relative to the relevant line (code component).
|
||||||
|
For example, in Python the docs are placed after the function signature, but in Java they are placed before.
|
||||||
documentation:
|
documentation:
|
||||||
type: string
|
type: string
|
||||||
description: |-
|
description: |-
|
||||||
|
Reference in New Issue
Block a user