Skip to content

Switch from system prompt to instructions parameter#35

Open
majiayu000 wants to merge 1 commit intosimonw:mainfrom
majiayu000:fix/issue-10-instructions
Open

Switch from system prompt to instructions parameter#35
majiayu000 wants to merge 1 commit intosimonw:mainfrom
majiayu000:fix/issue-10-instructions

Conversation

@majiayu000
Copy link

Summary

  • Uses the instructions parameter instead of system messages in the input
  • Aligns with OpenAI's Responses API best practices
  • Adds unit test to verify the behavior

Fixes #10

Signed-off-by: majiayu000 1835304752@qq.com

Use the Responses API's `instructions` parameter instead of including
system messages in the input. This aligns with OpenAI's recommended
approach for the Responses API.

Fixes simonw#10

Signed-off-by: majiayu000 <1835304752@qq.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Switch from system prompt to instructions

1 participant