Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions tests_integ/models/test_model_mantle.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,13 +40,13 @@ def test_chat_completions_agent_invoke(chat_completions_model):
"""OpenAIModel (Chat Completions) reaches Mantle via bedrock_mantle_config."""
agent = Agent(model=chat_completions_model, system_prompt="Reply in one short sentence.", callback_handler=None)
result = agent("What is 2+2?")
assert "4" in str(result)
assert "4" in str(result) or "four" in str(result).lower()


def test_agent_invoke(model):
agent = Agent(model=model, system_prompt="Reply in one short sentence.", callback_handler=None)
result = agent("What is 2+2?")
assert "4" in str(result)
assert "4" in str(result) or "four" in str(result).lower()


def test_responses_server_side_conversation(stateful_model):
Expand Down
Loading