mirror of
https://github.com/freeedcom/ai-codereviewer.git
synced 2025-04-20 17:46:47 +00:00
feat(createPrompt): add console log for language variable
This commit is contained in:
parent
26f5881f43
commit
a242c742a4
1 changed files with 2 additions and 0 deletions
|
@ -12,6 +12,8 @@ export interface PRDetails {
|
|||
const language: string = core.getInput("language") || 'English';
|
||||
|
||||
export function createPrompt(file: File, chunk: Chunk, prDetails: PRDetails): string {
|
||||
console.log('language', language);
|
||||
|
||||
return `Your task is to review pull requests. Instructions:
|
||||
- Provide the response in following JSON format: {"reviews": [{"lineNumber": <line_number>, "reviewComment": "<review comment>"}]}
|
||||
- Do not give positive comments or compliments.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue