Skip to content

Commit 3752339

Browse files
committed
typo
1 parent 2c54f7a commit 3752339

16 files changed

+16
-16
lines changed

client/examples/chat_completion.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,5 +51,5 @@ def print_chat_completion(model):
5151
model="anthropic.claude-v2"
5252
print_chat_completion(model)
5353

54-
model=gemini/gemini-1.5-flash
54+
model="gemini/gemini-1.5-flash"
5555
print_chat_completion(model)

client/examples/run.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,6 +90,6 @@ def test_run_with_assistant(assistant, client):
9090
gemini_assistant = client.beta.assistants.create(
9191
name="Gemini Animal Tutor",
9292
instructions=instructions,
93-
model=gemini/gemini-1.5-flash,
93+
model="gemini/gemini-1.5-flash",
9494
)
9595
test_run_with_assistant(gemini_assistant, client)

client/examples/run_retreival.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ def run_with_assistant(assistant, client):
108108
)
109109
run_with_assistant(claude_assistant, client)
110110

111-
model = gemini/gemini-1.5-flash
111+
model = "gemini/gemini-1.5-flash"
112112
name = f"{model} Math Tutor"
113113

114114
gemini_assistant = client.beta.assistants.create(

client/tests/astra-assistants/test_chat_completion.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,5 +98,5 @@ def test_chat_completion_claude(patched_openai_client):
9898

9999
@pytest.mark.skip(reason="Tool choice not supporeted / working consistently")
100100
def test_chat_completion_gemini_pro(patched_openai_client):
101-
model=gemini/gemini-1.5-flash
101+
model="gemini/gemini-1.5-flash"
102102
print_chat_completion(model, patched_openai_client)

client/tests/astra-assistants/test_function_calling_v2.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ def test_function_calling_claude(patched_openai_client):
3838

3939
@pytest.mark.skip(reason="gemini does not consistently work with function calling, skip")
4040
def test_function_calling_gemini(patched_openai_client):
41-
model=gemini/gemini-1.5-flash
41+
model="gemini/gemini-1.5-flash"
4242
function_calling(model, patched_openai_client)
4343

4444
@pytest.mark.skip(reason="llama does not consistently work with function calling, skip")

client/tests/astra-assistants/test_run_retreival_v2.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -160,7 +160,7 @@ def test_run_claude(patched_openai_client):
160160
run_with_assistant(claude_assistant, patched_openai_client, file1_path, embedding_model1)
161161

162162
def test_run_gemini(patched_openai_client):
163-
model = gemini/gemini-1.5-flash
163+
model = "gemini/gemini-1.5-flash"
164164
name = f"{model} Math Tutor"
165165

166166
gemini_assistant = patched_openai_client.beta.assistants.create(

client/tests/astra-assistants/test_run_v2.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,6 +89,6 @@ def test_run_gemini(patched_openai_client):
8989
gemini_assistant = patched_openai_client.beta.assistants.create(
9090
name="Gemini Animal Tutor",
9191
instructions=instructions,
92-
model=gemini/gemini-1.5-flash,
92+
model="gemini/gemini-1.5-flash",
9393
)
9494
run_with_assistant(gemini_assistant, patched_openai_client)

client/tests/astra-assistants/test_streaming_run_function_calling_v2.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ def test_function_calling_claude(patched_openai_client):
3636

3737
@pytest.mark.skip(reason="litellm does not use the latest gemini tool support yet and gemini refuses without it, skip")
3838
def test_function_calling_gemini(patched_openai_client):
39-
model=gemini/gemini-1.5-flash
39+
model="gemini/gemini-1.5-flash"
4040
function_calling(model, patched_openai_client)
4141

4242
def test_function_calling_groq_llama3(patched_openai_client):

client/tests/streaming-assistants/test_function_calling_v1.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ def test_function_calling_claude(streaming_assistants_openai_client):
3838

3939
@pytest.mark.skip(reason="gemini does not consistently work with function calling, skip")
4040
def test_function_calling_gemini(streaming_assistants_openai_client):
41-
model=gemini/gemini-1.5-flash
41+
model="gemini/gemini-1.5-flash"
4242
function_calling(model, streaming_assistants_openai_client)
4343

4444
@pytest.mark.skip(reason="llama does not consistently work with function calling, skip")

client/tests/streaming-assistants/test_run_retreival_v1.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ def test_run_claude(streaming_assistants_openai_client):
109109

110110
@pytest.mark.skip(reason="flaky")
111111
def test_run_gemini(streaming_assistants_openai_client):
112-
model = gemini/gemini-1.5-flash
112+
model = "gemini/gemini-1.5-flash"
113113
name = f"{model} Math Tutor"
114114

115115
gemini_assistant = streaming_assistants_openai_client.beta.assistants.create(

0 commit comments

Comments
 (0)