Skip to content

Commit

Permalink
mock gemma
Browse files Browse the repository at this point in the history
  • Loading branch information
megatron6000 committed Mar 6, 2024
1 parent 70efeed commit b987dba
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tests/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,8 @@ def models():
event_loop = asyncio.new_event_loop()

with (patch("allms.models.vertexai_palm.CustomVertexAI", VertexAIMock),
patch("allms.models.vertexai_gemini.CustomVertexAI", VertexAIMock)):
patch("allms.models.vertexai_gemini.CustomVertexAI", VertexAIMock),
patch("allms.models.vertexai_gemma.VertexAIModelGardenWrapper", VertexAIMock)):
return {
"azure_open_ai": AzureOpenAIModel(
config=AzureOpenAIConfiguration(
Expand Down

0 comments on commit b987dba

Please sign in to comment.