TerminalGPT icon indicating copy to clipboard operation
TerminalGPT copied to clipboard

o1-mini model does not support "system" message

Open Broken-Admin opened this issue 9 months ago • 4 comments

Describe the bug An error message is generated regarding the o1 and o1-mini models not supporting the system prompt that is provided by default.

To Reproduce Steps to reproduce the behavior:

  1. Run any of the commands new or one-shot with any standard prompt for ChatGPT using the o1 or o1-mini model
    • For example: terminal-gpt --model o1 one-shot "Hello!" or terminal-gpt --model o1-mini one-shot "Hello!"

Expected behavior User should begin conversation with TerminalGPT as per documentation.

Screenshots Image

Development Environment:

  • Docker Image (bash): Python:3.9.16

Additional Comments and Resolution Intent I would like to provide support regarding this bug.

I believe it could be resolved with additional handling for the reasoning models.

Broken-Admin avatar Apr 12 '25 07:04 Broken-Admin

Thanks @Broken-Admin, I'm definitely going to release a fix for this as soon as possible.

adamyodinsky avatar Apr 14 '25 09:04 adamyodinsky

I checked, and this is reproducible only for the o1-mini model, and not for the o1.

adamyodinsky avatar Apr 14 '25 10:04 adamyodinsky

Confirmed. PR has received correcting commits.

Broken-Admin avatar Apr 14 '25 18:04 Broken-Admin

It has been sent out through the OpenAI email that o1-mini will be depreciated.

Broken-Admin avatar Apr 30 '25 21:04 Broken-Admin

This issue was resolved by PR #160

adamyodinsky avatar Jul 02 '25 05:07 adamyodinsky