mindcraft icon indicating copy to clipboard operation
mindcraft copied to clipboard

gemini just don't do anything as it uses !newAction

Open hnrie opened this issue 1 year ago • 5 comments

i said gemini to build a house so it use !newAction but, nothing happen

hnrie avatar Aug 07 '24 08:08 hnrie

newAction only works if you've set allow_insecure_coding to true in settings.

kolbytn avatar Aug 23 '24 23:08 kolbytn

I solved the problem with it with a simple change to the initial promt The problem is that it keeps trying to assign !newAction to non-existing arguments like this one:

parsed command: { commandName: '!newAction', args: [ 'buildHouse' ] }
Agent executed: !newAction and got: Command !newAction was given 1 args, but requires 0 args.

5bridge avatar Aug 24 '24 08:08 5bridge

newAction only works if you've set allow_insecure_coding to true in settings.

i did, but it still didn't work

hnrie avatar Aug 27 '24 00:08 hnrie

I solved the problem with it with a simple change to the initial promt The problem is that it keeps trying to assign !newAction to non-existing arguments like this one:

parsed command: { commandName: '!newAction', args: [ 'buildHouse' ] }
Agent executed: !newAction and got: Command !newAction was given 1 args, but requires 0 args.

oh that was my problem, also it got fixed, thxxx

hnrie avatar Aug 27 '24 00:08 hnrie

newAction should be formatted like so !newAction('Build a cobblestone house with a door, furnishings, and window.') and the ai can learn it from within the profile json file. It's also not guaranteed that the specific model will understand.

"conversation_examples": [
  [
    {"role": "user", "content": "poppy: build a cobblestone house"},
    {"role": "assistant", "content": "Sure. !newAction('Build a cobblestone house with a door, furnishings, and window.')"}
  ],
]

If this fixed the issue please make sure to close it. ❤️

Shroototem avatar Nov 17 '24 01:11 Shroototem

newAction should be formatted like so !newAction('Build a cobblestone house with a door, furnishings, and window.') and the ai can learn it from within the profile json file. It's also not guaranteed that the specific model will understand.

"conversation_examples": [
  [
    {"role": "user", "content": "poppy: build a cobblestone house"},
    {"role": "assistant", "content": "Sure. !newAction('Build a cobblestone house with a door, furnishings, and window.')"}
  ],
]

If this fixed the issue please make sure to close it. ❤️

ok thx

hnrie avatar Nov 17 '24 02:11 hnrie