Skip to content

r2ai C execute_js is broken #189

@cryptax

Description

@cryptax

This used to work, but it no longer does. I hope I didn't break something with a fix ;-)

When in automatic mode, the model uses the execute_js tool, with a script, this goes well, an editor opens and helps edit the script. But somehow, either the script never gets executed, or the output is not captured, but for sure no output is ever sent in answer:

[execute_js]> 

<the script here OK>
<there are console.log etc>

NO OUTPUT

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions