You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, the OpenAI O1 model introduces a new role "developer". However, passing the conventional "system" role results in an error. To address this issue, the following changes are proposed.
Proposal
Add a Method to the ChatHistory Class
Implement a method to handle role conversion or substitution logic for compatibility with the O1 model.
Expand the AuthorRole Enum
Add "developer" as a new value to the AuthorRole enum.
Improve Developer Experience (UX)
If the "system" role is mistakenly passed, the logic should internally convert it to "developer" for better UX.
However, since all models other than O1 still use "system", simply adding support for the "developer" role seems to be the most optimal solution at this point.
Background
The O1 model no longer supports the "system" role, causing errors when it is passed.
The introduction of the "developer" role must be integrated in a way that preserves compatibility with other models.
Platform
Language: Python
The text was updated successfully, but these errors were encountered:
Currently, the OpenAI O1 model introduces a new role
"developer"
. However, passing the conventional"system"
role results in an error. To address this issue, the following changes are proposed.Proposal
Add a Method to the
ChatHistory
ClassExpand the
AuthorRole
Enum"developer"
as a new value to theAuthorRole
enum.Improve Developer Experience (UX)
"system"
role is mistakenly passed, the logic should internally convert it to"developer"
for better UX."system"
, simply adding support for the"developer"
role seems to be the most optimal solution at this point.Background
"system"
role, causing errors when it is passed."developer"
role must be integrated in a way that preserves compatibility with other models.Platform
The text was updated successfully, but these errors were encountered: