aih icon indicating copy to clipboard operation
aih copied to clipboard

Broken binaries in releases

Open johnd0e opened this issue 2 years ago • 4 comments

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

johnd0e avatar Jan 21 '24 14:01 johnd0e

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"

Databingo avatar Jan 25 '24 16:01 Databingo

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 avatar Jan 26 '24 14:01 johnd0e

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 avatar Jan 26 '24 14:01 johnd0e

"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
    

johnd0e avatar Jan 26 '24 14:01 johnd0e