mirror of
https://github.com/MadsLorentzen/ai-job-search.git
synced 2026-11-08 16:07:40 +00:00
freehire-search: lean search uses the web endpoint; drop unread params (#631)
semantic_ratio and include_description are both reported in meta.ignored_params. With include_description ignored, the agent endpoint hydrates every full body from the database, and --no-description threw that payload away client-side. Send --no-description to /api/v1/jobs/search, which serves only the preview, and stop sending the two unread params.
This commit is contained in:
1 parent
ce9b656829
commit
0f6480d32e
6 files changed
+31
-27
No files matched your search
@@ -55,7 +55,7 @@ describe("named search flags require their documented values", () => {
|
||||
expect(params.getAll("skills")).toEqual(["go", "kubernetes"]);
|
||||
expect(params.get("company_slug")).toBe("acme");
|
||||
expect(params.get("work_mode")).toBe("remote");
|
||||
expect(params.get("include_description")).toBe("false");
|
||||
expect(requests[0].pathname).toBe("/api/v1/jobs/search");
|
||||
} finally {
|
||||
server.stop(true);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user