dbpunk-labs / octogen

Octogen is an Open-Source Code Interpreter Agent Framework
https://octogen.dev
252 stars 18 forks source link

Does Not work On wsl Ubuntu 20.04 #95

Open repo-gardener opened 1 year ago

repo-gardener commented 1 year ago

It downloads with pip install og_up don't get me wrong. The chat window is just mangled and no output shows up

imotai commented 1 year ago

which model do you choose?

repo-gardener commented 1 year ago

At first I left it blank because I thought (gpt3-turbo-16k) was default. Then I just loaded it up and entered gpt-3.5 as the model. I still have the empty chat window. I also copied my api key with Ctrl-v. hopefully it was pasting it in there.

imotai commented 1 year ago

Can you give me the output of the command og_up?

repo-gardener commented 1 year ago

image

imotai commented 1 year ago

Great. Next step you can check the logs

# 1. get the container id
docker ps  | grep octogen
# 2. enter the docker container
docker exec -it cointainer_id bash
# 3. check the agent log
hap logs 3

Maybe there are some traceback, you can give them to me

imotai commented 1 year ago

image the following are valid model names

gpt-3.5-turbo gpt-3.5-turbo-0301 gpt-3.5-turbo-0613 gpt-3.5-turbo-16k gpt-3.5-turbo-16k-0613 gpt-3.5-turbo-instruct gpt-3.5-turbo-instruct-0914 I think I shoud add a validation to check the model name

repo-gardener commented 1 year ago

Okay so I checked the docker logs. They look normal. However, I picked gpt-3.5-turbo-16k & regular gpt-3.5 and clicked enter. I then get a small set of errors. So maybe it’s On Sat, Sep 30, 2023 at 12:46 PM imotai @.***> wrote:

[image: image] https://user-images.githubusercontent.com/64436830/271784109-75bdb179-3b6e-4968-9231-fd584bcb1fb4.jpeg the following are valid model names

gpt-3.5-turbo gpt-3.5-turbo-0301 gpt-3.5-turbo-0613 gpt-3.5-turbo-16k gpt-3.5-turbo-16k-0613 gpt-3.5-turbo-instruct gpt-3.5-turbo-instruct-0914

— Reply to this email directly, view it on GitHub https://github.com/dbpunk-labs/octogen/issues/95#issuecomment-1741811340, or unsubscribe https://github.com/notifications/unsubscribe-auth/APLTUXVYDGHAS7WHBD3H243X5BEE7ANCNFSM6AAAAAA5NULYXA . You are receiving this because you authored the thread.Message ID: @.***>

repo-gardener commented 1 year ago

image

jackfood commented 1 year ago

also having the same issue. image

image

imotai commented 1 year ago

also having the same issue. image

image

I will try codellama on my windows. thanks for the feedback.

imotai commented 1 year ago

@jackfood @NarcoticNarcoleptic I did not find the same issue on my windows. Maybe there are some environmental differences. I have updated the readme for local development without docker. You can have a try.

repo-gardener commented 1 year ago

I appreciate all the response back to this issue yall. I tried installing in a conda env yesterday but still had the same issues. I will update you if I get it fixed. I also did not properly check the docker logs with the commands mentioned above. So I will provide those this week

imotai commented 1 year ago

image

Maybe the docker version did not match the requirement. the octogen need the the docker to support json output

docker ps --help | grep json
                        'json':             Print in JSON format