Skip to content
Open
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
16 changes: 16 additions & 0 deletions test-code.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
// Test file for CodeBuddy AI with gemini-2.0-flash-lite

function fetchUser(userId) {
return fetch(`https://api.example.com/users/${userId}`)
.then(response => response.json());
}

function getUser(username) {
const query = "SELECT * FROM users WHERE username = '" + username + "'";
return db.query(query);
}

const config = {
apiKey: "sk-1234567890",
password: "admin123"
};