Closed sangeet000007 closed 8 months ago
We have switched to running code inside docker container by default. It seems that you haven't install docker on your machine. So, please either install docker or switch to the local
mode. Check this document https://microsoft.github.io/TaskWeaver/docs/advanced/code_execution
i am using google colab and i have not installed docker and i cant find how to switch to local mode so kindly provide the instruction to set local mode
set "execution_service.kernel_mode"="local" in your config file
set in project/taskweaver_config.json issue resolved
.
i am using gemini pro api and taskweaver in google colab i get the following error
File "/content/TaskWeaver/taskweaver/ces/environment.py", line 145, in init raise docker.errors.DockerException(f"Failed to connect to Docker daemon: {e}. ") docker.errors.DockerException: Failed to connect to Docker daemon: Error while fetching server API version: ('Connection aborted.', FileNotFoundError(2, 'No such file or directory')).
i put api json file in correct directory and i have checked api with curl its working