mirror of
https://github.com/aljazceru/dev-gpt.git
synced 2025-12-24 00:54:19 +01:00
🔎 feat: search fix web search
This commit is contained in:
@@ -4,7 +4,7 @@ from dev_gpt.options.generate.static_files.microservice.apis import search_web,
|
||||
def test_web_search():
|
||||
results = search_web("jina", 10)
|
||||
assert len(results) == 10
|
||||
assert "jina" in results[0]
|
||||
assert "jina" in results[0].lower()
|
||||
assert not results[0].startswith("http")
|
||||
|
||||
def test_image_search():
|
||||
|
||||
Reference in New Issue
Block a user