Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
OpenDAS
text-generation-inference
Commits
16d9e505
Unverified
Commit
16d9e505
authored
Jul 08, 2024
by
Javier Martinez
Committed by
GitHub
Jul 08, 2024
Browse files
fix: python deserialization (#2178)
parent
07e240ca
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
clients/python/text_generation/types.py
clients/python/text_generation/types.py
+1
-1
No files found.
clients/python/text_generation/types.py
View file @
16d9e505
...
...
@@ -61,7 +61,7 @@ class ChoiceDeltaToolCall(BaseModel):
class
ChoiceDelta
(
BaseModel
):
role
:
str
content
:
Optional
[
str
]
=
None
tool_calls
:
Optional
[
ChoiceDeltaToolCall
]
tool_calls
:
Optional
[
ChoiceDeltaToolCall
]
=
None
class
Choice
(
BaseModel
):
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment