@@ -38,12 +38,10 @@ class CompletionStreamOutput(schemas.DictSchema):
38
38
finished = schemas .BoolSchema
39
39
text = schemas .StrSchema
40
40
num_completion_tokens = schemas .IntSchema
41
- num_prompt_tokens = schemas .IntSchema
42
41
__annotations__ = {
43
42
"finished" : finished ,
44
43
"text" : text ,
45
44
"num_completion_tokens" : num_completion_tokens ,
46
- "num_prompt_tokens" : num_prompt_tokens ,
47
45
}
48
46
finished : MetaOapg .properties .finished
49
47
text : MetaOapg .properties .text
@@ -57,10 +55,6 @@ class CompletionStreamOutput(schemas.DictSchema):
57
55
self , name : typing_extensions .Literal ["num_completion_tokens" ]
58
56
) -> MetaOapg .properties .num_completion_tokens : ...
59
57
@typing .overload
60
- def __getitem__ (
61
- self , name : typing_extensions .Literal ["num_prompt_tokens" ]
62
- ) -> MetaOapg .properties .num_prompt_tokens : ...
63
- @typing .overload
64
58
def __getitem__ (self , name : str ) -> schemas .UnsetAnyTypeSchema : ...
65
59
def __getitem__ (
66
60
self ,
@@ -69,7 +63,6 @@ class CompletionStreamOutput(schemas.DictSchema):
69
63
"finished" ,
70
64
"text" ,
71
65
"num_completion_tokens" ,
72
- "num_prompt_tokens" ,
73
66
],
74
67
str ,
75
68
],
@@ -85,10 +78,6 @@ class CompletionStreamOutput(schemas.DictSchema):
85
78
self , name : typing_extensions .Literal ["num_completion_tokens" ]
86
79
) -> typing .Union [MetaOapg .properties .num_completion_tokens , schemas .Unset ]: ...
87
80
@typing .overload
88
- def get_item_oapg (
89
- self , name : typing_extensions .Literal ["num_prompt_tokens" ]
90
- ) -> typing .Union [MetaOapg .properties .num_prompt_tokens , schemas .Unset ]: ...
91
- @typing .overload
92
81
def get_item_oapg (self , name : str ) -> typing .Union [schemas .UnsetAnyTypeSchema , schemas .Unset ]: ...
93
82
def get_item_oapg (
94
83
self ,
@@ -97,7 +86,6 @@ class CompletionStreamOutput(schemas.DictSchema):
97
86
"finished" ,
98
87
"text" ,
99
88
"num_completion_tokens" ,
100
- "num_prompt_tokens" ,
101
89
],
102
90
str ,
103
91
],
@@ -120,9 +108,6 @@ class CompletionStreamOutput(schemas.DictSchema):
120
108
num_completion_tokens : typing .Union [
121
109
MetaOapg .properties .num_completion_tokens , decimal .Decimal , int , schemas .Unset
122
110
] = schemas .unset ,
123
- num_prompt_tokens : typing .Union [
124
- MetaOapg .properties .num_prompt_tokens , decimal .Decimal , int , schemas .Unset
125
- ] = schemas .unset ,
126
111
_configuration : typing .Optional [schemas .Configuration ] = None ,
127
112
** kwargs : typing .Union [
128
113
schemas .AnyTypeSchema ,
@@ -147,7 +132,6 @@ class CompletionStreamOutput(schemas.DictSchema):
147
132
finished = finished ,
148
133
text = text ,
149
134
num_completion_tokens = num_completion_tokens ,
150
- num_prompt_tokens = num_prompt_tokens ,
151
135
_configuration = _configuration ,
152
136
** kwargs ,
153
137
)
0 commit comments