Advanced Usage

April 30, 2023 ยท View on GitHub

Debugging for VS Code users

Create the file .vscode/launch.json with the following content:

{
    "version": "0.2.0",
    "configurations": [
        {
            "name": "Python: MiniAGI",
            "type": "python",
            "request": "launch",
            "program": "${cwd}/miniagi.py",
            "console": "integratedTerminal",
            "justMyCode": true,
            "args": ["test query"],
        }
    ]
}

Set the desired input arg <objective> and click "Run and Debug" in VS Code to start debugging.