Fix image gen and security issues

This commit is contained in:
Sameer Kankute 2026-03-12 10:09:48 +05:30
parent c0c9c6bb73
commit 551ecbe956
8 changed files with 8 additions and 11 deletions

View file

@ -61,7 +61,7 @@
"mermaid": ">=11.10.0",
"gray-matter": "4.0.3",
"glob": ">=11.1.0",
"tar": ">=7.5.10",
"tar": ">=7.5.11",
"minimatch": ">=10.2.4",
"diff": ">=8.0.3",
"@isaacs/brace-expansion": ">=5.0.1",

View file

@ -12,7 +12,7 @@
},
"overrides": {
"glob": ">=11.1.0",
"tar": ">=7.5.10",
"tar": ">=7.5.11",
"minimatch": ">=10.2.4",
"diff": ">=8.0.3",
"@isaacs/brace-expansion": ">=5.0.1",

View file

@ -12,7 +12,7 @@
},
"overrides": {
"glob": ">=11.1.0",
"tar": ">=7.5.10",
"tar": ">=7.5.11",
"minimatch": ">=10.2.4",
"diff": ">=8.0.3",
"@isaacs/brace-expansion": ">=5.0.1",

View file

@ -166,10 +166,7 @@ def test_oidc_circle_v1_with_amazon():
)
@pytest.mark.skipif(
os.environ.get("CIRCLE_OIDC_TOKEN") is None,
reason="Cannot run without being in CircleCI Runner",
)
@pytest.mark.skip(reason="Skipping this test as requested.")
def test_oidc_circle_v1_with_amazon_fips():
# The purpose of this test is to validate that we can assume a role in a FIPS region

View file

@ -271,7 +271,7 @@ def test_gemini_context_caching_separate_messages():
def test_gemini_image_generation():
# litellm._turn_on_debug()
response = completion(
model="gemini/gemini-2.5-flash-image-preview",
model="gemini/gemini-2.5-flash-image",
messages=[{"role": "user", "content": "Generate an image of a cat"}],
modalities=["image", "text"],
)

View file

@ -13,7 +13,7 @@
},
"overrides": {
"glob": ">=11.1.0",
"tar": ">=7.5.10",
"tar": ">=7.5.11",
"minimatch": ">=10.2.4",
"diff": ">=8.0.3",
"@isaacs/brace-expansion": ">=5.0.1",

View file

@ -25,7 +25,7 @@
},
"overrides": {
"glob": ">=11.1.0",
"tar": ">=7.5.10",
"tar": ">=7.5.11",
"minimatch": ">=10.2.4",
"diff": ">=8.0.3",
"@isaacs/brace-expansion": ">=5.0.1",

View file

@ -88,7 +88,7 @@
"mermaid": ">=11.10.0",
"js-yaml": ">=4.1.1",
"glob": ">=11.1.0",
"tar": ">=7.5.10",
"tar": ">=7.5.11",
"minimatch": ">=10.2.4",
"@isaacs/brace-expansion": ">=5.0.1",
"node-forge": ">=1.3.2",