-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
fix phind #793
base: main
Are you sure you want to change the base?
fix phind #793
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
Thank you for contribution. The diff is huge and I can't understand the code in |
This is a different approach to sending a prompt to Phind because Phind requires the I found that the So, one way to get the When the Phind Once the Phind chat window is open, we need to run a script to send the prompt, so that the network request is sent out and we can intercept it. For Phind, this is the script that needs to be run in the Phind chat window: Before running this script, we need to inject the These scripts are run when the request to Then, after running the After that, it will go back to the renderer, and PhindBot will send a request with the POST data received from I also done this way for https://yiyan.baidu.com/ after this is merge i will open another PR for yiyan because some codes is shared in this PR |
you may remove this line |
I tested it on macOS. Unfortunately, I can't get correct result. The chat window was created but the prompt was not send. I need more time to find the reason. Have you ever met this? |
make mainWindow as global to use in other file
phind need to generate challenge seed which is dynamic only can open the phind window and get the seend
Close: #763
Close: #701
Close: #690
Close: #623