@@ -38,12 +38,10 @@ class CompletionStreamOutput(schemas.DictSchema):
3838 finished = schemas .BoolSchema
3939 text = schemas .StrSchema
4040 num_completion_tokens = schemas .IntSchema
41- num_prompt_tokens = schemas .IntSchema
4241 __annotations__ = {
4342 "finished" : finished ,
4443 "text" : text ,
4544 "num_completion_tokens" : num_completion_tokens ,
46- "num_prompt_tokens" : num_prompt_tokens ,
4745 }
4846 finished : MetaOapg .properties .finished
4947 text : MetaOapg .properties .text
@@ -57,10 +55,6 @@ class CompletionStreamOutput(schemas.DictSchema):
5755 self , name : typing_extensions .Literal ["num_completion_tokens" ]
5856 ) -> MetaOapg .properties .num_completion_tokens : ...
5957 @typing .overload
60- def __getitem__ (
61- self , name : typing_extensions .Literal ["num_prompt_tokens" ]
62- ) -> MetaOapg .properties .num_prompt_tokens : ...
63- @typing .overload
6458 def __getitem__ (self , name : str ) -> schemas .UnsetAnyTypeSchema : ...
6559 def __getitem__ (
6660 self ,
@@ -69,7 +63,6 @@ class CompletionStreamOutput(schemas.DictSchema):
6963 "finished" ,
7064 "text" ,
7165 "num_completion_tokens" ,
72- "num_prompt_tokens" ,
7366 ],
7467 str ,
7568 ],
@@ -85,10 +78,6 @@ class CompletionStreamOutput(schemas.DictSchema):
8578 self , name : typing_extensions .Literal ["num_completion_tokens" ]
8679 ) -> typing .Union [MetaOapg .properties .num_completion_tokens , schemas .Unset ]: ...
8780 @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
9281 def get_item_oapg (self , name : str ) -> typing .Union [schemas .UnsetAnyTypeSchema , schemas .Unset ]: ...
9382 def get_item_oapg (
9483 self ,
@@ -97,7 +86,6 @@ class CompletionStreamOutput(schemas.DictSchema):
9786 "finished" ,
9887 "text" ,
9988 "num_completion_tokens" ,
100- "num_prompt_tokens" ,
10189 ],
10290 str ,
10391 ],
@@ -120,9 +108,6 @@ class CompletionStreamOutput(schemas.DictSchema):
120108 num_completion_tokens : typing .Union [
121109 MetaOapg .properties .num_completion_tokens , decimal .Decimal , int , schemas .Unset
122110 ] = schemas .unset ,
123- num_prompt_tokens : typing .Union [
124- MetaOapg .properties .num_prompt_tokens , decimal .Decimal , int , schemas .Unset
125- ] = schemas .unset ,
126111 _configuration : typing .Optional [schemas .Configuration ] = None ,
127112 ** kwargs : typing .Union [
128113 schemas .AnyTypeSchema ,
@@ -147,7 +132,6 @@ class CompletionStreamOutput(schemas.DictSchema):
147132 finished = finished ,
148133 text = text ,
149134 num_completion_tokens = num_completion_tokens ,
150- num_prompt_tokens = num_prompt_tokens ,
151135 _configuration = _configuration ,
152136 ** kwargs ,
153137 )
0 commit comments