Skip to content

Commit

Permalink
fix test - claude
Browse files Browse the repository at this point in the history
  • Loading branch information
FedPat-CF committed Sep 17, 2024
1 parent 848805b commit 3df7fa7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_claude.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ def test_llm_generate_content(self):
self.assertEqual(response, "Mocked Claude response")

def test_failed_to_llm_generate_content(self):
failed_response = "I'm sorry, I couldn't generate a response at this time. Try using another AI model."
failed_response = "Unfortunately, we're currently unable to generate a response, may be Claude API is experiencing issues. (Check status here https://status.anthropic.com). In the meantime, you can switch to other LLM models by using the commands llm_openai or llm_gemini."

mock_claude = Mock()
mock_claude.content = [Mock(text=failed_response)]
Expand Down

0 comments on commit 3df7fa7

Please sign in to comment.