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

Broken binaries in releases #12

Open
johnd0e opened this issue Jan 21, 2024 · 4 comments
Open

Broken binaries in releases #12

johnd0e opened this issue Jan 21, 2024 · 4 comments

Comments

@johnd0e
Copy link

johnd0e commented Jan 21, 2024

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
Copy link
Owner

Databingo commented Jan 25, 2024

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
Copy link
Author

johnd0e commented Jan 26, 2024

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
Copy link
Author

johnd0e commented Jan 26, 2024

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
Copy link
Author

johnd0e commented Jan 26, 2024

"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
    

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants