8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 98ed211 commit 44c0c03Copy full SHA for 44c0c03
tests-integ/test_model_litellm.py
@@ -24,17 +24,12 @@ def tool_weather() -> str:
24
25
26
@pytest.fixture
27
-def system_prompt():
28
- return "You are an AI assistant that uses & instead of ."
29
-
30
31
-@pytest.fixture
32
-def agent(model, tools, system_prompt):
33
- return Agent(model=model, tools=tools, system_prompt=system_prompt)
+def agent(model, tools):
+ return Agent(model=model, tools=tools)
34
35
36
def test_agent(agent):
37
result = agent("What is the time and weather in New York?")
38
text = result.message["content"][0]["text"].lower()
39
40
- assert all(string in text for string in ["12:00", "sunny", "&"])
+ assert all(string in text for string in ["12:00", "sunny"])
0 commit comments