Skip to content

callToolChain timeout mechanism does not work for synchronous code. #13

@delianjekov

Description

@delianjekov

I would expect when I call

const client = await CodeModeUtcpClient.create(); client.callToolChain(code, config.codeExecutionTimeout);

the code execution to either succeed or to be terminated after the specified amount of time passes.

However if the code passed to the callToolChain method is:

const code = 'while(true){};';

It just hangs.

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