Merge pull request #61 from kenotron/gpt-5.1
fixing the server.py for gpt-5.1
This commit is contained in:
commit
bcfd8f37aa
1 changed files with 1 additions and 1 deletions
|
|
@ -549,7 +549,7 @@ def convert_anthropic_to_litellm(anthropic_request: MessagesRequest) -> Dict[str
|
||||||
litellm_request = {
|
litellm_request = {
|
||||||
"model": anthropic_request.model, # it understands "anthropic/claude-x" format
|
"model": anthropic_request.model, # it understands "anthropic/claude-x" format
|
||||||
"messages": messages,
|
"messages": messages,
|
||||||
"max_tokens": max_tokens,
|
"max_completion_tokens": max_tokens,
|
||||||
"temperature": anthropic_request.temperature,
|
"temperature": anthropic_request.temperature,
|
||||||
"stream": anthropic_request.stream,
|
"stream": anthropic_request.stream,
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue