Chainlit / chainlit

Build Conversational AI in minutes ⚡️
https://docs.chainlit.io
Apache License 2.0
6.76k stars 878 forks source link

Will not write code? At all? #820

Closed PhiliptheGinger closed 3 days ago

PhiliptheGinger commented 6 months ago

Describe the bug Even an attempt to output a code that prints "hello world" fails, or at the very least, is incredibly slow.

To Reproduce Steps to reproduce the behavior:

  1. Open Chainlit with chainlit hello
  2. Type your name, all that.
  3. Please write me a code that prints "hello world".
  4. Wait forever, I guess?

Expected behavior I expected chainlit to write a code that prints "hello world."

Screenshots If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

jxraynaud commented 5 months ago

Hum, the chainlit hello command does nothing. It asks your name and generate a preformatted message. There isn't any llm behind it to handle the message you're sending. It's just here to check that your pip install worked nothing else. Somebody needs to cleanup this issue are there isn't any bug here. OP doesn't understand/read the docs.

ModEnter commented 3 days ago

This is expected behaviour, since chainlit hello does not rely on any LLM and simply displays "Hello + name".