Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to use suggest command #29

Open
Sora233 opened this issue Aug 22, 2024 · 2 comments
Open

Unable to use suggest command #29

Sora233 opened this issue Aug 22, 2024 · 2 comments
Labels
bug Something isn't working

Comments

@Sora233
Copy link

Sora233 commented Aug 22, 2024

Describe the bug
A clear and concise description of what the bug is.

$ tlm s 'list file'
┃ > Thinking... (762.425868ms)
┃ > No command found for given prompt...

It's ok to explain command.

$ tlm e 'ls -lhrt'
The `ls` command with the options `-l`, `-h`, and `-r` is used to list files in a directory, while the option `-t` sorts the output by modification time. The `-l` option displays the file's permissions, owner, group, size, last modified date, and name. The `-h` option formats the file sizes in human-readable format (e.g., 1K, 234M). The `-r` option sorts the output by modification time in reverse order (i.e., most recently modified files are listed first).

Console Output
If applicable, add console output.

tlm Version
Which tlm version are you running? Type tlm version to get the version

tlm 1.1 () on linux/amd64

Platform Information (please complete the following information):
Which operating system are you running on?-

client: wsl2 on windows 11 23H2
ollama server: windows 11 23H2 with ollama 0.3.6

Additional context
Add any other context about the problem here.

ollama server log:

[GIN] 2024/08/22 - 11:21:01 | 200 |            0s |  100.109.71.112 | GET      "/api/version"
[GIN] 2024/08/22 - 11:21:01 | 200 |      4.6206ms |  100.109.71.112 | GET      "/api/tags"
time=2024-08-22T11:21:01.712+08:00 level=WARN source=types.go:507 msg="invalid option provided" option=rope_frequency_base
[GIN] 2024/08/22 - 11:21:02 | 200 |    684.3122ms |  100.109.71.112 | POST     "/api/generate"
@Sora233 Sora233 added the bug Something isn't working label Aug 22, 2024
@Sora233
Copy link
Author

Sora233 commented Aug 22, 2024

only happened when I did go install github.com/yusufcanb/tlm@latest.
It is ok if I download from the github release.

@Sora233
Copy link
Author

Sora233 commented Aug 22, 2024

I confirmed the response was out of the shell context.

    "model": "tlm:1.1-s",
    "prompt_eval_count": 109,
    "prompt_eval_duration": 34800000,
    "response": "The `ls` command is used to list the files in the current directory. The `-l` option stands for \"long\" format, which provides more detailed information about each file, such as its size, permissions, and last modification time. The `-a` option stands for \"all\", which includes hidden files in the listing.",

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant