fix prompt bug

This commit is contained in:
Wendong
2025-05-05 03:31:43 +08:00
parent 517cb3ac9c
commit 2b25e582a7
11 changed files with 12 additions and 24 deletions

View File

@@ -110,8 +110,7 @@ def construct_society(question: str) -> RolePlaying:
def main():
r"""Main function to run the OWL system with an example question."""
# Default research question
default_task = "Open Brave search, summarize the github stars, fork counts, etc. of camel-ai's camel framework, and write the numbers into a python file using the plot package, save it locally, and run the generated python file.
Note: You have been provided with the necessary tools to complete this task."
default_task = "Open Brave search, summarize the github stars, fork counts, etc. of camel-ai's camel framework, and write the numbers into a python file using the plot package, save it locally, and run the generated python file. Note: You have been provided with the necessary tools to complete this task."
# Override default task if command line argument is provided
task = sys.argv[1] if len(sys.argv) > 1 else default_task