Skip to content

Commit 73bf455

Browse files
authored
Merge pull request lightspeed-core#1558 from asimurka/add_safety_identifier
LCORE-1583: Add safety_identifier into internal ResponsesApiParams model
2 parents 303fbe3 + f52593d commit 73bf455

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

src/utils/types.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -214,6 +214,10 @@ class ResponsesApiParams(BaseModel):
214214
default=None,
215215
description="Reasoning configuration for the response",
216216
)
217+
safety_identifier: Optional[str] = Field(
218+
default=None,
219+
description="Stable identifier for safety monitoring and abuse detection",
220+
)
217221
store: bool = Field(description="Whether to store the response")
218222
stream: bool = Field(description="Whether to stream the response")
219223
temperature: Optional[float] = Field(

0 commit comments

Comments
 (0)