genkit icon indicating copy to clipboard operation
genkit copied to clipboard

[py] openai: handle system instructions

Open timere-nemo opened this issue 1 year ago • 2 comments

timere-nemo avatar Mar 27 '25 23:03 timere-nemo

unresolved comments on https://github.com/firebase/genkit/pull/2524

pavelgj avatar Mar 28 '25 14:03 pavelgj

Fixed in #2705, which reworked message conversion so Role.SYSTEM passes through as the plain system role. The current OpenAI plugin (now under py/packages/genkit-openai) has no developer role anywhere, and there is a unit test asserting system messages keep the system role. Closing this as done.

hilariie avatar Jul 23 '26 11:07 hilariie