new file: .vscode/settings.json
modified: newver.js
This commit is contained in:
3
.vscode/settings.json
vendored
Normal file
3
.vscode/settings.json
vendored
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
{
|
||||||
|
"cSpell.words": ["Cerber", "Hatsune", "Miku", "shironeko"]
|
||||||
|
}
|
||||||
@@ -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'],
|
||||||
|
|||||||
Reference in New Issue
Block a user