Skip to content

armgit / storm

Public Imported from GitHub
0

An LLM-powered knowledge curation system that researches a topic and generates a full-length report with citations.

Fix examples: args.max_thread_num is not passed into `STORMRunnerArguments`.

shaoyijia03fda6c312b6
diff --git a/examples/run_storm_wiki_gpt.py b/examples/run_storm_wiki_gpt.py
index 59e9a5e..6b07226 100644
--- a/examples/run_storm_wiki_gpt.py
+++ b/examples/run_storm_wiki_gpt.py
@@ -63,6 +63,7 @@ def main(args):
max_conv_turn=args.max_conv_turn,
max_perspective=args.max_perspective,
search_top_k=args.search_top_k,
+ max_thread_num=args.max_thread_num,
)
runner = STORMWikiRunner(engine_args, lm_configs)
diff --git a/examples/run_storm_wiki_mistral.py b/examples/run_storm_wiki_mistral.py
index d9e029b..e819136 100644
--- a/examples/run_storm_wiki_mistral.py
+++ b/examples/run_storm_wiki_mistral.py
@@ -55,6 +55,7 @@ def main(args):
max_conv_turn=args.max_conv_turn,
max_perspective=args.max_perspective,
search_top_k=args.search_top_k,
+ max_thread_num=args.max_thread_num,
)
runner = STORMWikiRunner(engine_args, lm_configs)