anarchy-ai / LLM-VM

irresponsible innovation. Try now at https://chat.dev/
https://anarchy.ai/
MIT License
465 stars 150 forks source link

Fix error handling and clean up client #431

Open mmirman opened 5 months ago

mmirman commented 5 months ago

https://github.com/anarchy-ai/LLM-VM/blob/main/src/llm_vm/client.py#L197C31-L197C31

This error handling is chaotic! We loose the stack trace frequently and there is unnecessary redirection. Please keep the stack trace so we can figure out what line things got broken on.

We use rebel even when tools is empty also!

abhigya-sodani commented 5 months ago

Whats an example of using REBEL w/o tools

mmirman commented 5 months ago

Thats the point. If you give it a tools object with no tools what happens?

abhigya-sodani commented 5 months ago

Ok working on this. Pushed a fix that fixes Openai issues

lucylililiwang commented 4 months ago

Hi, Can I please work on this issue? Thank you!

lucylililiwang commented 4 months ago

https://github.com/lucylililiwang/LLM-VM/blob/lucylililiwang-Fix_error_handling_and_clean_up_client/Fix%20error%20handling%20and%20clean%20up%20client