SmartManoj / Kevin

⚡ Kevin: Code Quick, Create Fast
MIT License
7 stars 0 forks source link

[Bug]: No output after input text #103

Open kevin-support-bot[bot] opened 3 hours ago

kevin-support-bot[bot] commented 3 hours ago

https://github.com/All-Hands-AI/OpenHands/issues/5171 Issue


@NonvolatileMemory Is there any error in the logs?

NonvolatileMemory commented 3 hours ago

no

SmartManoj commented 3 hours ago

Is there any error in the docker container logs?

NonvolatileMemory commented 3 hours ago

no, I think?

SmartManoj commented 3 hours ago

Could you check it in Github Codespaces and check if the issue is still persisting?

NonvolatileMemory commented 3 hours ago

ok, thanks! But where can i find the tutorail about how to check it in github codespaces

SmartManoj commented 3 hours ago

Simply clicking the above link is enough. It will build (~2 mins) and give the app link.

Steps to use GitHub Codespaces

NonvolatileMemory commented 3 hours ago

ok thanks.

and I checked again with docker and GUI from localhost:3000.

There is no reply after I send one prompts. And I can not post anything new.

SmartManoj commented 2 hours ago

Could you check this litellm script to check if the LLM works properly?

NonvolatileMemory commented 2 hours ago

ok thanks!

I am checking the github codespace, and after it I will try litellm script.

sincerely thanks

NonvolatileMemory commented 2 hours ago
image

is this one correct? I wait for maybe like 10 mins, and no output yet, and my deepseek API seems no consumed

NonvolatileMemory commented 2 hours ago

litellm.ServiceUnavailableError: OllamaException: HTTPConnectionPool(host='localhost', port=11434): Max retries exceeded with url: /api/generate (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7be990072090>: Failed to establish a new connection: [Errno 111] Connection refused'))

SmartManoj commented 2 hours ago

Are you using WSL?

NonvolatileMemory commented 2 hours ago

i am using github codespace with mac os/ chorme

NonvolatileMemory commented 2 hours ago

under the github codespace: gpt can output, deepseek (from ollamao) cannot under my own docker: all cannot output

SmartManoj commented 2 hours ago

As Deepseek is running in your system only, the codespace won't have access to that. Now could you check if GPT is working locally using development guide?

NonvolatileMemory commented 2 hours ago

no, i am using deepseek api

NonvolatileMemory commented 2 hours ago

As Deepseek is running in your system only, the codespace won't have access to that. Now could you check if GPT is working locally using development guide?

gpt works very well

SmartManoj commented 2 hours ago

host='localhost', port=11434

Here Ollama is used.

NonvolatileMemory commented 2 hours ago

so ollama is using local serving api?

then how can I use deepseek api?

SmartManoj commented 2 hours ago

Yes, ollama is running locally. Could you check this litellm script?

NonvolatileMemory commented 2 hours ago

ok thanks, so if i want to use deepseek, i should use advanced mode?

SmartManoj commented 2 hours ago

Yes, with base_url = http://host.docker.internal:11434

NonvolatileMemory commented 2 hours ago

yep, deepseek ok now!

Thanks.

But why my own docker cannot run?

SmartManoj commented 2 hours ago

Did you change the base URL? Local LLM Guide

NonvolatileMemory commented 2 hours ago

no, but actually i am using api from cloud. why github codespace is ok but my docker failed to generate.

I run the command with


docker pull docker.all-hands.dev/all-hands-ai/runtime:0.14-nikolaik

docker run -it --rm --pull=always \
    -e SANDBOX_RUNTIME_CONTAINER_IMAGE=docker.all-hands.dev/all-hands-ai/runtime:0.14-nikolaik \
    -e LOG_ALL_EVENTS=true \
    -v /var/run/docker.sock:/var/run/docker.sock \
    -p 3000:3000 \
    --add-host host.docker.internal:host-gateway \
    --name openhands-app \
    docker.all-hands.dev/all-hands-ai/openhands:0.14
SmartManoj commented 2 hours ago

API from deepseek.com?


litellm.ServiceUnavailableError: OllamaException: HTTPConnectionPool(host='localhost', port=11434): Max retries exceeded with url: /api/generate (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7be990072090>: Failed to establish a new connection: [Errno 111] Connection refused'))

Is there any other error occurred like this?

NonvolatileMemory commented 2 hours ago

API from deepseek.com?

yes, it can run only on github codespace, cannot on my own docker

SmartManoj commented 2 hours ago

Is there any error occurring when running using docker?

SmartManoj commented 1 hour ago

If you use deepseek from API, then the model name is deepseek/deepseek-coder No need to set base_url as litellm automatically handles that.