new file: .vscode/settings.json

modified:   newver.js
This commit is contained in:
2025-01-21 01:28:36 -03:00
parent 751aedc11a
commit 21beaf4110
2 changed files with 5 additions and 3 deletions

3
.vscode/settings.json vendored Normal file
View File

@@ -0,0 +1,3 @@
{
"cSpell.words": ["Cerber", "Hatsune", "Miku", "shironeko"]
}

View File

@@ -23,7 +23,7 @@ function discordMessage(args) {
} }
function getRandomCharacter(args) { function getRandomCharacter(args) {
return "miku" return "Miku"
} }
function getRandomQuote(args) { function getRandomQuote(args) {
@@ -36,7 +36,6 @@ function googleSearch(args) {
console.log("Starting Google search..."); console.log("Starting Google search...");
setTimeout(() => { setTimeout(() => {
const searchResult = `Hatsune Miku, the virtual Diva`; const searchResult = `Hatsune Miku, the virtual Diva`;
console.log("Google search complete:", searchResult);
resolve(searchResult); resolve(searchResult);
}, 10000); // Simulate 5 seconds delay }, 10000); // Simulate 5 seconds delay
}); });
@@ -97,7 +96,7 @@ const availableTools = [
type: 'function', type: 'function',
function: { function: {
name: 'googleSearch', name: 'googleSearch',
description: 'Search in google for a query, this might take som undefined amount of time so, wait for a late response', description: 'Search in google for a query, this might take some undefined amount of time so, wait for a late response',
parameters: { parameters: {
type: 'object', type: 'object',
required: ['query'], required: ['query'],