dev-backpack / cllm

Empower your CLI experience with a command search tool driven by LLM magic!
https://dev-backpack.github.io/cllm/
MIT License
33 stars 0 forks source link

Add error handling for search function errors #33

Closed ykdy3951 closed 7 months ago

ykdy3951 commented 8 months ago

What happened?

Currently, when an error occurs during the execution of the search function within the application, the user is not provided with clear feedback or error handling. This leads to a poor user experience as they are left unaware of why the search failed.

What did you expect to happen?

When an error occurs during the search functionality, the application should display a clear error message to the user, indicating that the search has failed and potentially providing guidance on how to retry.

How can we reproduce it (as minimally and precisely as possible)?

Trigger a search query that is known to cause an error, such as using invalid search criteria or searching for non-existent data.

Anything else we need to know?

Enhancing error handling for the search function will improve user satisfaction and overall usability of the application.

cllm version

0.1.1

OS version

```console # On Linux: $ cat /etc/os-release # paste output here $ uname -a # paste output here # On Windows: C:\> wmic os get Caption, Version, BuildNumber, OSArchitecture # paste output here ```