chore: Move ID generation logic out of the ORM layer and into the Pydantic model layer (#1981)

This commit is contained in:
Matthew Zhou
2024-11-05 17:05:10 -08:00
committed by GitHub
parent b9f772f196
commit b3f86fe4cd
29 changed files with 270 additions and 380 deletions

View File

@@ -420,7 +420,7 @@ def test_tools_from_langchain(client: LocalClient):
exec(source_code, {}, local_scope)
func = local_scope[tool.name]
expected_content = "Albert Einstein ( EYEN-styne; German:"
expected_content = "Albert Einstein"
assert expected_content in func(query="Albert Einstein")