File tree Expand file tree Collapse file tree 1 file changed +1
-4
lines changed
Expand file tree Collapse file tree 1 file changed +1
-4
lines changed Original file line number Diff line number Diff line change 1717from typing import Dict
1818
1919import pytest
20+ from langcache .errors import BadRequestErrorResponseContent
2021
2122from redisvl .extensions .cache .llm .langcache import LangCacheSemanticCache
2223
@@ -241,7 +242,6 @@ def test_error_on_store_with_metadata_when_no_attributes_configured(
241242 self , langcache_no_attrs : LangCacheSemanticCache
242243 ) -> None :
243244
244-
245245 prompt = "Attributes not configured"
246246 response = "This should fail due to missing attributes configuration."
247247
@@ -289,9 +289,6 @@ def test_attribute_value_with_comma_passes_through_to_api(
289289 error is raised by the backend. If this behavior changes, this test will
290290 need to be updated.
291291 """
292-
293- from langcache .errors import BadRequestErrorResponseContent
294-
295292 prompt = "Comma attribute value"
296293 response = "This may fail depending on the remote validation rules."
297294
You can’t perform that action at this time.
0 commit comments