mirror of
https://github.com/BerriAI/litellm.git
synced 2025-04-26 03:04:13 +00:00
(test) claude fixes
This commit is contained in:
parent
d179ae376e
commit
ba460e6838
3 changed files with 18 additions and 8 deletions
|
@ -47,8 +47,9 @@ test_function_call_non_openai_model()
|
|||
## case 2: add_function_to_prompt set
|
||||
def test_function_call_non_openai_model_litellm_mod_set():
|
||||
litellm.add_function_to_prompt = True
|
||||
litellm.set_verbose = True
|
||||
try:
|
||||
model = "claude-instant-1"
|
||||
model = "claude-instant-1.2"
|
||||
messages = [{"role": "user", "content": "what's the weather in sf?"}]
|
||||
functions = [
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue