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
change
sglang
Commits
21e22b9e
Unverified
Commit
21e22b9e
authored
Jul 30, 2024
by
Enrique Shockwave
Committed by
GitHub
Jul 29, 2024
Browse files
Fix LiteLLM kwargs (#817)
parent
a50c8a14
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
python/sglang/lang/backend/litellm.py
python/sglang/lang/backend/litellm.py
+1
-1
No files found.
python/sglang/lang/backend/litellm.py
View file @
21e22b9e
...
@@ -61,7 +61,7 @@ class LiteLLM(BaseBackend):
...
@@ -61,7 +61,7 @@ class LiteLLM(BaseBackend):
model
=
self
.
model_name
,
model
=
self
.
model_name
,
messages
=
messages
,
messages
=
messages
,
**
self
.
client_params
,
**
self
.
client_params
,
**
sampling_params
.
to_
anthropic
_kwargs
(),
**
sampling_params
.
to_
litellm
_kwargs
(),
)
)
comp
=
ret
.
choices
[
0
].
message
.
content
comp
=
ret
.
choices
[
0
].
message
.
content
...
...
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