mirror of
https://github.com/freeedcom/ai-codereviewer.git
synced 2025-04-20 09:36:47 +00:00
chore(createPrompt): add default language value for user input
This commit is contained in:
parent
5d1160716d
commit
c6390a649c
1 changed files with 1 additions and 1 deletions
|
@ -9,7 +9,7 @@ export interface PRDetails {
|
||||||
description: string;
|
description: string;
|
||||||
}
|
}
|
||||||
|
|
||||||
const language: string = core.getInput("language");
|
const language: string = core.getInput("language") || 'English';
|
||||||
|
|
||||||
export function createPrompt(file: File, chunk: Chunk, prDetails: PRDetails): string {
|
export function createPrompt(file: File, chunk: Chunk, prDetails: PRDetails): string {
|
||||||
return `Your task is to review pull requests. Instructions:
|
return `Your task is to review pull requests. Instructions:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue