We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 823a3fe commit 17f2acdCopy full SHA for 17f2acd
1 file changed
tests/embeddings/test_jina_api.py
@@ -94,7 +94,7 @@ async def test_embed_batch_sends_task_for_code_embeddings_model(monkeypatch):
94
finally:
95
await p.close()
96
body = json.loads(route.calls.last.request.read())
97
- assert body["task"] == "retrieval.passage"
+ assert body["task"] == "nl2code.passage"
98
99
100
@respx.mock
@@ -111,7 +111,7 @@ async def test_embed_query_sends_task_for_code_embeddings_model(monkeypatch):
111
112
113
114
- assert body["task"] == "retrieval.query"
+ assert body["task"] == "nl2code.query"
115
116
117
0 commit comments