OppaAI commited on
Commit
090b8ec
·
verified ·
1 Parent(s): 8a5fe3d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -56,11 +56,11 @@ def search_jobs_tool(industry: str = "", country: str = "", keyword: str = "", l
56
  base = "https://jobicy.com/api/v2/remote-jobs"
57
  params = {"count": max(1, min(limit, 50))}
58
  if industry:
59
- params["companyIndustry"] = industry.lower().replace(" & ", "-").replace(" ", "-")
60
  if country and country.lower() != "anywhere":
61
  params["geo"] = country.lower()
62
  if keyword:
63
- params["search"] = keyword.strip()
64
 
65
  logger.info(f"Requesting Jobicy API with params: {params}")
66
  try:
 
56
  base = "https://jobicy.com/api/v2/remote-jobs"
57
  params = {"count": max(1, min(limit, 50))}
58
  if industry:
59
+ params["industry"] = industry.lower().replace(" & ", "-").replace(" ", "-")
60
  if country and country.lower() != "anywhere":
61
  params["geo"] = country.lower()
62
  if keyword:
63
+ params["tag"] = keyword.strip()
64
 
65
  logger.info(f"Requesting Jobicy API with params: {params}")
66
  try: