mirror of
https://github.com/kolbytn/mindcraft.git
synced 2025-07-23 08:25:19 +02:00
chore: update main.js to allow profile paths
This commit is contained in:
parent
ee86d4811b
commit
85a40d2c93
1 changed files with 2 additions and 1 deletions
3
main.js
3
main.js
|
@ -15,12 +15,13 @@ function parseArguments() {
|
|||
}
|
||||
|
||||
function getProfiles(args) {
|
||||
return args.agents || settings.profiles;
|
||||
return args.profiles || settings.profiles;
|
||||
}
|
||||
|
||||
function main() {
|
||||
const args = parseArguments();
|
||||
const profiles = getProfiles(args);
|
||||
console.log(profiles);
|
||||
const { load_memory, init_message } = settings;
|
||||
|
||||
for (const profile of profiles) {
|
||||
|
|
Loading…
Add table
Reference in a new issue