with fixtures

This commit is contained in:
Lorenze Jay
2025-01-24 15:24:13 -08:00
parent 65b6ff1cc7
commit 079692de35
2 changed files with 207 additions and 0 deletions

View File

@@ -1603,6 +1603,7 @@ def test_agent_with_knowledge_sources():
assert "red" in result.raw.lower()
@pytest.mark.vcr(filter_headers=["authorization"])
def test_agent_with_knowledge_sources_works_with_copy():
content = "Brandon's favorite color is red and he likes Mexican food."
string_source = StringKnowledgeSource(content=content)

File diff suppressed because one or more lines are too long