chatbox
chatbox copied to clipboard
[BUG] System messages don't seem to work
Bug Description When providing a system message stating "Only respond with the code. Do not provide an explanation unless it is specifically asked for," gpt-4-turbo still attempts to explain the code. This contrasts with behavior obtained by calling the OpenAI API directly; in that case, gpt-4-turbo successfully avoids giving an explanation and only provides code.
Steps to Reproduce Please provide the steps to reproduce the bug:
- Configure the app to use gpt-4-turbo on default settings
- Click on "New Chat"
- Edit the system message to: "Only respond with the code. Do not provide an explanation unless it is specifically asked for." or something similar.
- Click SAVE.
- Type in the message, "Give me React code for a login form"
- Observe
Expected Results The bot should respond with only the code, with brief or no explanation. This is the behavior seen with other chatbot GUIs and the OpenAI API itself.
Actual Results The bot provides a lengthy explanation of the code.
Screenshots
Desktop (please complete the following information):
- Operating System: macOS
- Application Version: 1.3.5
I have also unfortunately noticed system messages not working. It would be awesome to have it.
Using the model gpt-4 seems to have system messages working, but gpt-4-turbo does not.
This was caused by a bug, which I have fixed in version 1.3.6.