Databingo / aih

Talk to AI modes in terminal. Bard|GPT3.5|Llama2
MIT License
157 stars 11 forks source link

Broken binaries in releases #12

Open johnd0e opened 9 months ago

johnd0e commented 9 months ago

Since 0.2 all 12 provided binaries are identical. E.g. I download windows binary, and see aih.exe file, but it is not EXE inside, it is impossible to execute it.

P.S. I have tried to build it myself, but:

vi.go:6:12: pattern vi: no matching files found
Databingo commented 9 months ago

Sorry for late reply I have fixed bard, chatgpt and llama2 with new release of binary, please check them. For now the claude have changed ajax construction and I haven't figure it out after several hours' work. The falcon service on huggingface is alway waiting so can not work. I also changed the unseen mode of browser to visible mode for avoiding simulating problem because the more we work as a real user, the more easier our logic and code will be. Thank you very much. P.S. If you want to build it yourself, you have to build mini vi first, then build aih with embed vi. For example, on macos: "GOOS=windows GOARCH=amd64 cd ./ryy && go build -o ../vi && cd .. && go build -tags vi -o aih.exe"

johnd0e commented 9 months ago

For now the claude have changed ajax construction and I haven't figure it out after several hours' work.

This project in go working for me atm: https://github.com/oldweipro/claude-to-chatgpt And there is also a couple of other projects in python.

P.S. For hugging-chat there is also one: https://github.com/Soulter/hugging-chat-api

johnd0e commented 9 months ago

If you want to build it yourself

Well, I just have no other option, as binaries in Releases still broken. Can you see it?

johnd0e commented 9 months ago

"GOOS=windows GOARCH=amd64 cd ./ryy && go build -o ../vi && cd .. && go build -tags vi -o aih.exe"

  1. I have successfully built vi. (I am not sure how it is supposed to work, but beeng executed alone it is not ok, I can provide more details if it is relevant.)
  2. go build -tags vi -o aih.exe failed with this message:
    # aih
    .\main.go:355:30: undefined: syscall.SIGWINCH
    .\main.go:363:18: undefined: syscall.SIGWINCH