Closed nheidloff closed 1 month ago
This is intended.
You can have ENV set (so PythonTool becomes activated), but the container may not be running.
If the ENV is not set, then the code interpreter is not used, and thus, you can't get any error from the PythonTool
(because it is not used).
Oh, that's a little confusing. How about changing the message to something more descriptive?
"The code interpreter is enabled. Please ensure that it is running on http://localhost:50051."
Just a detail. This error comes up in bee.ts even if the env variable is defined.
The check needs to be inverse: https://github.com/i-am-bee/bee-agent-framework/blob/7ebad1fbcd5514fed3610da3025bfb2e5ea7d9e3/examples/agents/bee.ts#L51