mirror of
https://github.com/BerriAI/litellm.git
synced 2026-09-06 08:16:43 +00:00
Merge pull request #2320 from BerriAI/litellm_claude_3_image_tool_calling_support
fix(anthropic.py): Support Claude 3 Vision + Tool Calling
This commit is contained in:
commit
a9133ae139
1 changed files with 1 additions and 1 deletions
|
|
@ -829,7 +829,7 @@ def prompt_factory(
|
|||
if custom_llm_provider == "ollama":
|
||||
return ollama_pt(model=model, messages=messages)
|
||||
elif custom_llm_provider == "anthropic":
|
||||
if model == "claude-instant-1" or model == "claude-2.1":
|
||||
if model == "claude-instant-1" or model == "claude-2":
|
||||
return anthropic_pt(messages=messages)
|
||||
return anthropic_messages_pt(messages=messages)
|
||||
elif custom_llm_provider == "together_ai":
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue