Skip to content

Commit

Permalink
Merge branch 'main' into upgrade-aoai-api-version
Browse files Browse the repository at this point in the history
  • Loading branch information
moonbox3 authored Jan 9, 2025
2 parents 42b072e + dcad32e commit ca318bd
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -503,7 +503,13 @@ class FunctionChoiceTestTypes(str, Enum):
]
],
{"test_type": FunctionChoiceTestTypes.AUTO},
marks=pytest.mark.skipif(not google_ai_setup, reason="Google AI Environment Variables not set"),
marks=[
pytest.mark.skipif(not google_ai_setup, reason="Google AI Environment Variables not set"),
pytest.mark.xfail(
reason="Temporarily failing due to Google AI API issue on streaming only: "
"400 Function calling is not enabled for models/gemini-1.5-flash"
),
],
id="google_ai_tool_call_auto",
),
pytest.param(
Expand All @@ -523,7 +529,13 @@ class FunctionChoiceTestTypes(str, Enum):
]
],
{"test_type": FunctionChoiceTestTypes.NON_AUTO},
marks=pytest.mark.skipif(not google_ai_setup, reason="Google AI Environment Variables not set"),
marks=[
pytest.mark.skipif(not google_ai_setup, reason="Google AI Environment Variables not set"),
pytest.mark.xfail(
reason="Temporarily failing due to Google AI API issue on streaming only: "
"400 Function calling is not enabled for models/gemini-1.5-flash"
),
],
id="google_ai_tool_call_non_auto",
),
pytest.param(
Expand Down Expand Up @@ -569,7 +581,13 @@ class FunctionChoiceTestTypes(str, Enum):
]
],
{"test_type": FunctionChoiceTestTypes.AUTO},
marks=pytest.mark.skipif(not google_ai_setup, reason="Google AI Environment Variables not set"),
marks=[
pytest.mark.skipif(not google_ai_setup, reason="Google AI Environment Variables not set"),
pytest.mark.xfail(
reason="Temporarily failing due to Google AI API issue on streaming only: "
"400 Function calling is not enabled for models/gemini-1.5-flash"
),
],
id="google_ai_tool_call_auto_complex_return_type",
),
# endregion
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,13 @@
),
],
{},
marks=pytest.mark.skipif(not google_ai_setup, reason="Google AI Environment Variables not set"),
marks=[
pytest.mark.skipif(not google_ai_setup, reason="Google AI Environment Variables not set"),
pytest.mark.xfail(
reason="Temporarily failing due to Google AI API issue on streaming only: "
"400 Image input modality is not enabled for models/gemini-1.5-flash"
),
],
id="google_ai_image_input_file",
),
pytest.param(
Expand Down

0 comments on commit ca318bd

Please sign in to comment.