Skip to content

Commit

Permalink
Update test
Browse files Browse the repository at this point in the history
  • Loading branch information
scosman committed Aug 28, 2024
1 parent 66b25b6 commit b60c68f
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions libs/core/kiln_ai/adapters/test_prompt_adaptors.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,9 +32,7 @@ async def test_amazon_bedrock(tmp_path):
async def test_mock(tmp_path):
task = build_test_task(tmp_path)
adapter = SimplePromptAdapter(task, model_name="fake_parrot", provider="mock")
answer = await adapter.run(
"You should answer the following question: four plus six times 10"
)
answer = await adapter.run("You are a mock, send me the response!")
assert "mock response" in answer


Expand Down

0 comments on commit b60c68f

Please sign in to comment.