Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions .github/workflows/code-review.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
azure_openai_api_key: ${{ secrets.AZURE_OPENAI_API_KEY }}
azure_openai_base_url: ${{ variables.AZURE_OPENAI_BASE_URL }}
azure_openai_deployment_name: ${{ variables.AZURE_OPENAI_DEPLOYMENT_NAME }}
azure_openai_base_url: ${{ vars.AZURE_OPENAI_BASE_URL }}
azure_openai_deployment_name: ${{ vars.AZURE_OPENAI_DEPLOYMENT_NAME }}
openai_model_name: "gpt-3.5-turbo"
#azure_openai_api_version: ${{ variables.AZURE_OPENAI_API_VERSION }}
#azure_openai_api_version: ${{ vars.AZURE_OPENAI_API_VERSION }}
25 changes: 24 additions & 1 deletion src/ts/test/index.ts
Original file line number Diff line number Diff line change
@@ -1 +1,24 @@
console.log("Hello, world");
console.log("Hello, world");

// This file intentionally contains bad TypeScript code for LLM code review testing

function add(a, b) {
return a + b;
}

let result = add("5", 10);

console.log("Result is: " + result);

const obj = {};
obj = { name: "test" };

if ((result = 15)) {
console.log("Fifteen!");
}

let unusedVar: number;

function doNothing() {
// does nothing
}