11"""Common types for the project."""
22
3- from typing import Annotated , Any , Literal , Optional , TypeAlias
3+ from typing import Annotated , Any , Literal , Optional
44
55from llama_stack_api import ImageContentItem , TextContentItem
66from llama_stack_api .openai_responses import (
@@ -131,7 +131,7 @@ class ShieldModerationBlocked(BaseModel):
131131 Field (discriminator = "decision" ),
132132]
133133
134- IncludeParameter : TypeAlias = Literal [
134+ type IncludeParameter = Literal [
135135 "web_search_call.action.sources" ,
136136 "code_interpreter_call.outputs" ,
137137 "computer_call_output.output.image_url" ,
@@ -141,7 +141,7 @@ class ShieldModerationBlocked(BaseModel):
141141 "reasoning.encrypted_content" ,
142142]
143143
144- ResponseItem : TypeAlias = (
144+ type ResponseItem = (
145145 ResponseMessage
146146 | WebSearchToolCall
147147 | FileSearchToolCall
@@ -153,7 +153,7 @@ class ShieldModerationBlocked(BaseModel):
153153 | McpApprovalResponse
154154)
155155
156- ResponseInput : TypeAlias = str | list [ResponseItem ]
156+ type ResponseInput = str | list [ResponseItem ]
157157
158158
159159class ResponsesApiParams (BaseModel ):
0 commit comments