From cf7bab2923638bda4f2291655f7ac3a4e3b08c1d Mon Sep 17 00:00:00 2001 From: Alexander Goncharov Date: Wed, 4 Feb 2026 23:20:42 +0300 Subject: [PATCH] =?UTF-8?q?explicitly=20mark=20SYSTEM=20=D0=9C=D0=95=D0=A1?= =?UTF-8?q?=D0=A1=D0=95=D0=94=D0=96=20AS=20=D0=A1=D0=98=D0=A1=D0=A2=D0=95?= =?UTF-8?q?=D0=9C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.go b/main.go index 3175d5f..6454bdb 100644 --- a/main.go +++ b/main.go @@ -51,6 +51,7 @@ func (p *OpenAIPrompter) Prompt(ctx context.Context, req PromptRequest) (*Highly Content: responses.EasyInputMessageContentUnionParam{ OfString: openai.String(sysPrompt), }, + Role: responses.EasyInputMessageRoleSystem, }, }, { @@ -64,7 +65,6 @@ func (p *OpenAIPrompter) Prompt(ctx context.Context, req PromptRequest) (*Highly } resp, err := p.cli.Responses.New(ctx, responses.ResponseNewParams{ - Instructions: openai.String(p.cfg.SystemPrompt), Input: responses.ResponseNewParamsInputUnion{ OfInputItemList: input, },