browserpilot
browserpilot copied to clipboard
compatibility with GPT-4-Turbo models + a new instruction
Since gpt-4-turbo-preview and gpt-4-1106-preview append "```" to the response, I removed the stop= parameter which was useless and added a regex to fetch the python code. I also add a new instruction as a new scenario for github.
This PR solves the #6 issue.
@agn-7 my apologies for the delay. Have you still found problems with this?
@handrew no worries.
Actually, I haven't worked with this repository for a while. But this PR solves the #6 issue.