AutoGPT
                                
                                 AutoGPT copied to clipboard
                                
                                    AutoGPT copied to clipboard
                            
                            
                            
                        Allow multiple commands at once
Duplicates
- [X] I have searched the existing issues
Summary 💡
Although I'm working on it, I thought it would be nice to make an issue and maybe someone else better(and more time) on this repo could work on it.
Not all commands are costly. Some API calls like speaking could be expensive, but searching on internet, writing file, reading file or else are not. These commands could be done at once, and if it happens it'll save queries.
For example, if the bot wants to search about some information, it could simultaneously search about multiple topics.
To acheieve this, these changes should be done:
- Allow bot to make more than one commands
- Parse many commands from agent
- Agent calls multiple commands at once, possibly using asynchronous calls
- Mark cheap commands which can allow multiple calls
Examples 🌈
Since bot is already told it should answer in json format, even though it was told command in answer should be in dictionary, sometimes its answer is in list format.
This is not an actual answer, it's how the answer would look like.
{
    ...
    "command": [
        {"name": "command name", "args": {"arg name": "value"},
        {"name": "command name", "args": {"arg name": "value"},
        ...
    ],
    ...
}
Motivation 🔦
No response
See also: #1060 If/when this is revisited, should take into account:
- #4045
This issue has automatically been marked as stale because it has not had any activity in the last 50 days. You can unstale it by commenting or removing the label. Otherwise, this issue will be closed in 10 days.
This issue was closed automatically because it has been stale for 10 days with no activity.