Skip to content

Commit

Permalink
fix unit tests
Browse files Browse the repository at this point in the history
  • Loading branch information
hjlarry committed Dec 21, 2024
1 parent 3daffb6 commit 6c63dbe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion api/core/model_runtime/model_providers/google/llm/llm.py
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ def validate_credentials(self, model: str, credentials: dict) -> None:
"""

try:
ping_message = SystemPromptMessage(content="ping")
ping_message = UserPromptMessage(content="ping")
self._generate(model, credentials, [ping_message], {"max_output_tokens": 5})

except Exception as ex:
Expand Down

0 comments on commit 6c63dbe

Please sign in to comment.