(feat) - add claude 3

This commit is contained in:
ishaan-jaff 2024-03-04 07:13:08 -08:00
parent b283588eb8
commit 19eb9063fb
4 changed files with 32 additions and 19 deletions

View file

@ -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(