forked from phoenix/litellm-mirror
(feat) - add claude 3
This commit is contained in:
parent
b283588eb8
commit
19eb9063fb
4 changed files with 32 additions and 19 deletions
|
@ -1023,7 +1023,7 @@ def completion(
|
|||
api_base
|
||||
or litellm.api_base
|
||||
or get_secret("ANTHROPIC_API_BASE")
|
||||
or "https://api.anthropic.com/v1/complete"
|
||||
or "https://api.anthropic.com/v1/messages"
|
||||
)
|
||||
custom_prompt_dict = custom_prompt_dict or litellm.custom_prompt_dict
|
||||
response = anthropic.completion(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue