remove unnecessary changes

This commit is contained in:
Isadora White 2025-05-23 12:02:23 -07:00
parent b55f92800f
commit fa02028b8b
4 changed files with 1 additions and 18 deletions

View file

@ -34,7 +34,7 @@ const settings = {
"allow_insecure_coding": false, // allows newAction command and model can write/run code on your computer. enable at own risk
"allow_vision": false, // allows vision model to interpret screenshots as inputs
"blocked_actions" : ["!checkBlueprint", "!checkBlueprintLevel", "!getBlueprint", "!getBlueprintLevel"], // commands to disable and remove from docs. Ex: ["!setMode"]
"blocked_actions" : ["!checkBlueprint", "!checkBlueprintLevel", "!getBlueprint", "!getBlueprintLevel"] , // commands to disable and remove from docs. Ex: ["!setMode"]
"code_timeout_mins": -1, // minutes code is allowed to run. -1 for no timeout
"relevant_docs_count": 5, // number of relevant code function docs to select for prompting. -1 for all

View file

@ -198,7 +198,6 @@ export class Agent {
if (!this.task || !this.task.agent_names) {
return;
}
console.log(this.task.agent_names)
const missingPlayers = this.task.agent_names.filter(name => !this.bot.players[name]);
if (missingPlayers.length > 0) {

View file

@ -1,16 +0,0 @@
import * as mc from '../src/utils/mcdata.js';
import minecraftData from 'minecraft-data';
const mc_version = '1.21.1'
const mcdata = minecraftData(mc_version);
console.log(mcdata.recipes[mc.getItemId('white_dye')])
console.log(mcdata.recipes[mc.getItemId('oak_planks')])
console.log(mcdata.recipes[mc.getItemId('wooden_pickaxe')])
if (mcdata.recipes['minecraft:white_dye']) {
console.log('Recipe found')
}
const target_item = 'white_dye'
const quantity = 1
const curr_inventory = {}
let craftingPlan = mc.getDetailedCraftingPlan(target_item, quantity, curr_inventory)
console.log(craftingPlan)