diff --git a/.release-please-manifest.json b/.release-please-manifest.json index d357339..7cb1a16 100644 --- a/.release-please-manifest.json +++ b/.release-please-manifest.json @@ -1,3 +1,3 @@ { - ".": "0.2.18-alpha.1" + ".": "0.2.18-alpha.2" } diff --git a/.stats.yml b/.stats.yml index 0dfc787..1f5340b 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,4 +1,4 @@ configured_endpoints: 106 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/llamastack%2Fllama-stack-client-83f6df45d805a86b006e19d7e3e2decdfaba03af9b2a7bb8a5080d8801ee0838.yml -openapi_spec_hash: a08671c120ecd7142115b61b5728e537 +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/llamastack%2Fllama-stack-client-7c002d994b96113926e24a0f99ff80a52b937481e383b584496087ecdc2d92d6.yml +openapi_spec_hash: e9c825e9199979fc5f754426a1334499 config_hash: e67fd054e95c1e82f78f4b834e96bb65 diff --git a/CHANGELOG.md b/CHANGELOG.md index f038668..7070ef6 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,13 @@ # Changelog +## 0.2.18-alpha.2 (2025-08-12) + +Full Changelog: [v0.2.18-alpha.1...v0.2.18-alpha.2](https://github.com/llamastack/llama-stack-client-python/compare/v0.2.18-alpha.1...v0.2.18-alpha.2) + +### Features + +* **api:** update via SDK Studio ([e8e7433](https://github.com/llamastack/llama-stack-client-python/commit/e8e7433dab536ac6f03e72acfbf82505298fd44d)) + ## 0.2.18-alpha.1 (2025-08-12) Full Changelog: [v0.2.18-alpha.1...v0.2.18-alpha.1](https://github.com/llamastack/llama-stack-client-python/compare/v0.2.18-alpha.1...v0.2.18-alpha.1) diff --git a/pyproject.toml b/pyproject.toml index 5d47b8e..c25d53e 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [project] name = "llama_stack_client" -version = "0.2.18-alpha.1" +version = "0.2.18-alpha.2" description = "The official Python library for the llama-stack-client API" dynamic = ["readme"] license = "MIT" diff --git a/src/llama_stack_client/types/response_create_params.py b/src/llama_stack_client/types/response_create_params.py index dba9fce..ac43496 100644 --- a/src/llama_stack_client/types/response_create_params.py +++ b/src/llama_stack_client/types/response_create_params.py @@ -10,6 +10,7 @@ "InputUnionMember1", "InputUnionMember1OpenAIResponseOutputMessageWebSearchToolCall", "InputUnionMember1OpenAIResponseOutputMessageFileSearchToolCall", + "InputUnionMember1OpenAIResponseOutputMessageFileSearchToolCallResult", "InputUnionMember1OpenAIResponseOutputMessageFunctionToolCall", "InputUnionMember1OpenAIResponseInputFunctionToolCallOutput", "InputUnionMember1OpenAIResponseMessage", @@ -81,6 +82,23 @@ class InputUnionMember1OpenAIResponseOutputMessageWebSearchToolCall(TypedDict, t """Tool call type identifier, always "web_search_call" """ +class InputUnionMember1OpenAIResponseOutputMessageFileSearchToolCallResult(TypedDict, total=False): + attributes: Required[Dict[str, Union[bool, float, str, Iterable[object], object, None]]] + """(Optional) Key-value attributes associated with the file""" + + file_id: Required[str] + """Unique identifier of the file containing the result""" + + filename: Required[str] + """Name of the file containing the result""" + + score: Required[float] + """Relevance score for this search result (between 0 and 1)""" + + text: Required[str] + """Text content of the search result""" + + class InputUnionMember1OpenAIResponseOutputMessageFileSearchToolCall(TypedDict, total=False): id: Required[str] """Unique identifier for this tool call""" @@ -94,7 +112,7 @@ class InputUnionMember1OpenAIResponseOutputMessageFileSearchToolCall(TypedDict, type: Required[Literal["file_search_call"]] """Tool call type identifier, always "file_search_call" """ - results: Iterable[Dict[str, Union[bool, float, str, Iterable[object], object, None]]] + results: Iterable[InputUnionMember1OpenAIResponseOutputMessageFileSearchToolCallResult] """(Optional) Search results returned by the file search operation""" diff --git a/src/llama_stack_client/types/response_list_response.py b/src/llama_stack_client/types/response_list_response.py index d7190a4..ae50d44 100644 --- a/src/llama_stack_client/types/response_list_response.py +++ b/src/llama_stack_client/types/response_list_response.py @@ -13,6 +13,7 @@ "Input", "InputOpenAIResponseOutputMessageWebSearchToolCall", "InputOpenAIResponseOutputMessageFileSearchToolCall", + "InputOpenAIResponseOutputMessageFileSearchToolCallResult", "InputOpenAIResponseOutputMessageFunctionToolCall", "InputOpenAIResponseInputFunctionToolCallOutput", "InputOpenAIResponseMessage", @@ -38,6 +39,7 @@ "OutputOpenAIResponseMessageContentUnionMember2AnnotationOpenAIResponseAnnotationFilePath", "OutputOpenAIResponseOutputMessageWebSearchToolCall", "OutputOpenAIResponseOutputMessageFileSearchToolCall", + "OutputOpenAIResponseOutputMessageFileSearchToolCallResult", "OutputOpenAIResponseOutputMessageFunctionToolCall", "OutputOpenAIResponseOutputMessageMcpCall", "OutputOpenAIResponseOutputMessageMcpListTools", @@ -59,6 +61,23 @@ class InputOpenAIResponseOutputMessageWebSearchToolCall(BaseModel): """Tool call type identifier, always "web_search_call" """ +class InputOpenAIResponseOutputMessageFileSearchToolCallResult(BaseModel): + attributes: Dict[str, Union[bool, float, str, List[object], object, None]] + """(Optional) Key-value attributes associated with the file""" + + file_id: str + """Unique identifier of the file containing the result""" + + filename: str + """Name of the file containing the result""" + + score: float + """Relevance score for this search result (between 0 and 1)""" + + text: str + """Text content of the search result""" + + class InputOpenAIResponseOutputMessageFileSearchToolCall(BaseModel): id: str """Unique identifier for this tool call""" @@ -72,7 +91,7 @@ class InputOpenAIResponseOutputMessageFileSearchToolCall(BaseModel): type: Literal["file_search_call"] """Tool call type identifier, always "file_search_call" """ - results: Optional[List[Dict[str, Union[bool, float, str, List[object], object, None]]]] = None + results: Optional[List[InputOpenAIResponseOutputMessageFileSearchToolCallResult]] = None """(Optional) Search results returned by the file search operation""" @@ -356,6 +375,23 @@ class OutputOpenAIResponseOutputMessageWebSearchToolCall(BaseModel): """Tool call type identifier, always "web_search_call" """ +class OutputOpenAIResponseOutputMessageFileSearchToolCallResult(BaseModel): + attributes: Dict[str, Union[bool, float, str, List[object], object, None]] + """(Optional) Key-value attributes associated with the file""" + + file_id: str + """Unique identifier of the file containing the result""" + + filename: str + """Name of the file containing the result""" + + score: float + """Relevance score for this search result (between 0 and 1)""" + + text: str + """Text content of the search result""" + + class OutputOpenAIResponseOutputMessageFileSearchToolCall(BaseModel): id: str """Unique identifier for this tool call""" @@ -369,7 +405,7 @@ class OutputOpenAIResponseOutputMessageFileSearchToolCall(BaseModel): type: Literal["file_search_call"] """Tool call type identifier, always "file_search_call" """ - results: Optional[List[Dict[str, Union[bool, float, str, List[object], object, None]]]] = None + results: Optional[List[OutputOpenAIResponseOutputMessageFileSearchToolCallResult]] = None """(Optional) Search results returned by the file search operation""" diff --git a/src/llama_stack_client/types/response_object.py b/src/llama_stack_client/types/response_object.py index e1c88a1..c0f348a 100644 --- a/src/llama_stack_client/types/response_object.py +++ b/src/llama_stack_client/types/response_object.py @@ -23,6 +23,7 @@ "OutputOpenAIResponseMessageContentUnionMember2AnnotationOpenAIResponseAnnotationFilePath", "OutputOpenAIResponseOutputMessageWebSearchToolCall", "OutputOpenAIResponseOutputMessageFileSearchToolCall", + "OutputOpenAIResponseOutputMessageFileSearchToolCallResult", "OutputOpenAIResponseOutputMessageFunctionToolCall", "OutputOpenAIResponseOutputMessageMcpCall", "OutputOpenAIResponseOutputMessageMcpListTools", @@ -158,6 +159,23 @@ class OutputOpenAIResponseOutputMessageWebSearchToolCall(BaseModel): """Tool call type identifier, always "web_search_call" """ +class OutputOpenAIResponseOutputMessageFileSearchToolCallResult(BaseModel): + attributes: Dict[str, Union[bool, float, str, List[object], object, None]] + """(Optional) Key-value attributes associated with the file""" + + file_id: str + """Unique identifier of the file containing the result""" + + filename: str + """Name of the file containing the result""" + + score: float + """Relevance score for this search result (between 0 and 1)""" + + text: str + """Text content of the search result""" + + class OutputOpenAIResponseOutputMessageFileSearchToolCall(BaseModel): id: str """Unique identifier for this tool call""" @@ -171,7 +189,7 @@ class OutputOpenAIResponseOutputMessageFileSearchToolCall(BaseModel): type: Literal["file_search_call"] """Tool call type identifier, always "file_search_call" """ - results: Optional[List[Dict[str, Union[bool, float, str, List[object], object, None]]]] = None + results: Optional[List[OutputOpenAIResponseOutputMessageFileSearchToolCallResult]] = None """(Optional) Search results returned by the file search operation""" diff --git a/src/llama_stack_client/types/response_object_stream.py b/src/llama_stack_client/types/response_object_stream.py index aa78709..09b7830 100644 --- a/src/llama_stack_client/types/response_object_stream.py +++ b/src/llama_stack_client/types/response_object_stream.py @@ -24,6 +24,7 @@ "OpenAIResponseObjectStreamResponseOutputItemAddedItemOpenAIResponseMessageContentUnionMember2AnnotationOpenAIResponseAnnotationFilePath", "OpenAIResponseObjectStreamResponseOutputItemAddedItemOpenAIResponseOutputMessageWebSearchToolCall", "OpenAIResponseObjectStreamResponseOutputItemAddedItemOpenAIResponseOutputMessageFileSearchToolCall", + "OpenAIResponseObjectStreamResponseOutputItemAddedItemOpenAIResponseOutputMessageFileSearchToolCallResult", "OpenAIResponseObjectStreamResponseOutputItemAddedItemOpenAIResponseOutputMessageFunctionToolCall", "OpenAIResponseObjectStreamResponseOutputItemAddedItemOpenAIResponseOutputMessageMcpCall", "OpenAIResponseObjectStreamResponseOutputItemAddedItemOpenAIResponseOutputMessageMcpListTools", @@ -42,6 +43,7 @@ "OpenAIResponseObjectStreamResponseOutputItemDoneItemOpenAIResponseMessageContentUnionMember2AnnotationOpenAIResponseAnnotationFilePath", "OpenAIResponseObjectStreamResponseOutputItemDoneItemOpenAIResponseOutputMessageWebSearchToolCall", "OpenAIResponseObjectStreamResponseOutputItemDoneItemOpenAIResponseOutputMessageFileSearchToolCall", + "OpenAIResponseObjectStreamResponseOutputItemDoneItemOpenAIResponseOutputMessageFileSearchToolCallResult", "OpenAIResponseObjectStreamResponseOutputItemDoneItemOpenAIResponseOutputMessageFunctionToolCall", "OpenAIResponseObjectStreamResponseOutputItemDoneItemOpenAIResponseOutputMessageMcpCall", "OpenAIResponseObjectStreamResponseOutputItemDoneItemOpenAIResponseOutputMessageMcpListTools", @@ -214,6 +216,25 @@ class OpenAIResponseObjectStreamResponseOutputItemAddedItemOpenAIResponseOutputM """Tool call type identifier, always "web_search_call" """ +class OpenAIResponseObjectStreamResponseOutputItemAddedItemOpenAIResponseOutputMessageFileSearchToolCallResult( + BaseModel +): + attributes: Dict[str, Union[bool, float, str, List[object], object, None]] + """(Optional) Key-value attributes associated with the file""" + + file_id: str + """Unique identifier of the file containing the result""" + + filename: str + """Name of the file containing the result""" + + score: float + """Relevance score for this search result (between 0 and 1)""" + + text: str + """Text content of the search result""" + + class OpenAIResponseObjectStreamResponseOutputItemAddedItemOpenAIResponseOutputMessageFileSearchToolCall(BaseModel): id: str """Unique identifier for this tool call""" @@ -227,7 +248,9 @@ class OpenAIResponseObjectStreamResponseOutputItemAddedItemOpenAIResponseOutputM type: Literal["file_search_call"] """Tool call type identifier, always "file_search_call" """ - results: Optional[List[Dict[str, Union[bool, float, str, List[object], object, None]]]] = None + results: Optional[ + List[OpenAIResponseObjectStreamResponseOutputItemAddedItemOpenAIResponseOutputMessageFileSearchToolCallResult] + ] = None """(Optional) Search results returned by the file search operation""" @@ -470,6 +493,25 @@ class OpenAIResponseObjectStreamResponseOutputItemDoneItemOpenAIResponseOutputMe """Tool call type identifier, always "web_search_call" """ +class OpenAIResponseObjectStreamResponseOutputItemDoneItemOpenAIResponseOutputMessageFileSearchToolCallResult( + BaseModel +): + attributes: Dict[str, Union[bool, float, str, List[object], object, None]] + """(Optional) Key-value attributes associated with the file""" + + file_id: str + """Unique identifier of the file containing the result""" + + filename: str + """Name of the file containing the result""" + + score: float + """Relevance score for this search result (between 0 and 1)""" + + text: str + """Text content of the search result""" + + class OpenAIResponseObjectStreamResponseOutputItemDoneItemOpenAIResponseOutputMessageFileSearchToolCall(BaseModel): id: str """Unique identifier for this tool call""" @@ -483,7 +525,9 @@ class OpenAIResponseObjectStreamResponseOutputItemDoneItemOpenAIResponseOutputMe type: Literal["file_search_call"] """Tool call type identifier, always "file_search_call" """ - results: Optional[List[Dict[str, Union[bool, float, str, List[object], object, None]]]] = None + results: Optional[ + List[OpenAIResponseObjectStreamResponseOutputItemDoneItemOpenAIResponseOutputMessageFileSearchToolCallResult] + ] = None """(Optional) Search results returned by the file search operation""" diff --git a/src/llama_stack_client/types/responses/input_item_list_response.py b/src/llama_stack_client/types/responses/input_item_list_response.py index abb09e9..714ff70 100644 --- a/src/llama_stack_client/types/responses/input_item_list_response.py +++ b/src/llama_stack_client/types/responses/input_item_list_response.py @@ -11,6 +11,7 @@ "Data", "DataOpenAIResponseOutputMessageWebSearchToolCall", "DataOpenAIResponseOutputMessageFileSearchToolCall", + "DataOpenAIResponseOutputMessageFileSearchToolCallResult", "DataOpenAIResponseOutputMessageFunctionToolCall", "DataOpenAIResponseInputFunctionToolCallOutput", "DataOpenAIResponseMessage", @@ -37,6 +38,23 @@ class DataOpenAIResponseOutputMessageWebSearchToolCall(BaseModel): """Tool call type identifier, always "web_search_call" """ +class DataOpenAIResponseOutputMessageFileSearchToolCallResult(BaseModel): + attributes: Dict[str, Union[bool, float, str, List[object], object, None]] + """(Optional) Key-value attributes associated with the file""" + + file_id: str + """Unique identifier of the file containing the result""" + + filename: str + """Name of the file containing the result""" + + score: float + """Relevance score for this search result (between 0 and 1)""" + + text: str + """Text content of the search result""" + + class DataOpenAIResponseOutputMessageFileSearchToolCall(BaseModel): id: str """Unique identifier for this tool call""" @@ -50,7 +68,7 @@ class DataOpenAIResponseOutputMessageFileSearchToolCall(BaseModel): type: Literal["file_search_call"] """Tool call type identifier, always "file_search_call" """ - results: Optional[List[Dict[str, Union[bool, float, str, List[object], object, None]]]] = None + results: Optional[List[DataOpenAIResponseOutputMessageFileSearchToolCallResult]] = None """(Optional) Search results returned by the file search operation"""