Skip to content
This repository was archived by the owner on Aug 14, 2025. It is now read-only.

Commit 3b74b07

Browse files
feat(api): update via SDK Studio
1 parent b4224e9 commit 3b74b07

File tree

6 files changed

+7
-17
lines changed

6 files changed

+7
-17
lines changed

.stats.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
configured_endpoints: 106
22
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/llamastack%2Fllama-stack-client-c371abef4463f174f8d35ef3da4697fae5eb221db615f9c305319196472f313b.yml
33
openapi_spec_hash: d9bb62faf229c2c2875c732715e9cfd1
4-
config_hash: de16e52db65de71ac35adcdb665a74f5
4+
config_hash: 82fe79ebe3e65787cd877faf812ee79e

api.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,6 @@ from llama_stack_client.types import (
2222
ScoringResult,
2323
SystemMessage,
2424
ToolCall,
25-
ToolCallOrString,
2625
ToolParamDefinition,
2726
ToolResponseMessage,
2827
UserMessage,

src/llama_stack_client/types/__init__.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,6 @@
2424
SamplingParams as SamplingParams,
2525
BatchCompletion as BatchCompletion,
2626
SafetyViolation as SafetyViolation,
27-
ToolCallOrString as ToolCallOrString,
2827
CompletionMessage as CompletionMessage,
2928
InterleavedContent as InterleavedContent,
3029
ToolParamDefinition as ToolParamDefinition,

src/llama_stack_client/types/shared/__init__.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@
1818
from .safety_violation import SafetyViolation as SafetyViolation
1919
from .completion_message import CompletionMessage as CompletionMessage
2020
from .interleaved_content import InterleavedContent as InterleavedContent
21-
from .tool_call_or_string import ToolCallOrString as ToolCallOrString
2221
from .tool_param_definition import ToolParamDefinition as ToolParamDefinition
2322
from .tool_response_message import ToolResponseMessage as ToolResponseMessage
2423
from .query_generator_config import QueryGeneratorConfig as QueryGeneratorConfig

src/llama_stack_client/types/shared/content_delta.py

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,9 @@
55

66
from ..._utils import PropertyInfo
77
from ..._models import BaseModel
8-
from .tool_call_or_string import ToolCallOrString
8+
from .tool_call import ToolCall
99

10-
__all__ = ["ContentDelta", "TextDelta", "ImageDelta", "ToolCallDelta"]
10+
__all__ = ["ContentDelta", "TextDelta", "ImageDelta", "ToolCallDelta", "ToolCallDeltaToolCall"]
1111

1212

1313
class TextDelta(BaseModel):
@@ -26,11 +26,14 @@ class ImageDelta(BaseModel):
2626
"""Discriminator type of the delta. Always "image" """
2727

2828

29+
ToolCallDeltaToolCall: TypeAlias = Union[str, ToolCall]
30+
31+
2932
class ToolCallDelta(BaseModel):
3033
parse_status: Literal["started", "in_progress", "failed", "succeeded"]
3134
"""Current parsing status of the tool call"""
3235

33-
tool_call: ToolCallOrString
36+
tool_call: ToolCallDeltaToolCall
3437
"""Either an in-progress tool call string or the final parsed tool call"""
3538

3639
type: Literal["tool_call"]

src/llama_stack_client/types/shared/tool_call_or_string.py

Lines changed: 0 additions & 10 deletions
This file was deleted.

0 commit comments

Comments
 (0)