New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Default python interpreter doesn't work #97
Labels
bug
Something isn't working
Comments
@acanis possible from the Docker services we need to point to the service name, do you mind retesting with http://terrarium:8080 as the url? |
Yes I confirmed that setting the URL to:
Works fine. I will create a PR changing the default. |
acanis
added a commit
to acanis/cohere-toolkit
that referenced
this issue
May 6, 2024
…rarium:8080 The previous default http://localhost:8080 didn't work with docker compose on Mac
1 task
Thank you, let's go with that |
lakshyaag
pushed a commit
to lakshyaag/cohere-toolkit
that referenced
this issue
May 8, 2024
…http://terrarium:8080 (cohere-ai#103) Fix cohere-ai#97: Change default python interpreter URL to http://terrarium:8080 The previous default http://localhost:8080 didn't work with docker compose on Mac Co-authored-by: Tianjing Li <tianjinglimail@gmail.com>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
What is the issue?
When I setup the toolkit locally on Mac the python interpreter tool does not work.
Using
make attach
and the python debugger I see:SOLUTION: Update
PYTHON_INTERPRETER_URL
in the.env
file to specify the docker container namecohere-toolkit-terrarium-1
instead oflocalhost
then this works:I found this name from Docker desktop, the python tool is running on port 8080:
This must be a Docker network permission issue. Outside the docker in a shell, curl works:
Additional information
No response
The text was updated successfully, but these errors were encountered: