Skip to content

Commit 270400e

Browse files
committed
replace query with user_message, was rising errors
1 parent 131f511 commit 270400e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

hissmed_literature_assistant.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ def hisscat_download_literature(user_message, cat):
2424
PapersDownloader.set_email(email=email)
2525
log.info(f"Saving articles in {os.path.join(os.getcwd(),'literature')}") # Log the output folder
2626
PapersDownloader.create_directory()
27-
PapersDownloader.batch_download_pdfs(query=query, top_n_articles=top_n_articles, citation_w=citation_weight, year_w=year_weight, journal_w=journal_weight)
27+
PapersDownloader.batch_download_pdfs(query=user_message, top_n_articles=top_n_articles, citation_w=citation_weight, year_w=year_weight, journal_w=journal_weight)
2828
log.info(f"Downloaded articles") # Log the download status
2929
return user_message
3030

0 commit comments

Comments
 (0)