Skip to content

Commit 2a9b58a

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent 0363ad8 commit 2a9b58a

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

FinanceAgent/prompts/research_prompt.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,11 +26,11 @@
2626
2727
For writing a comprehensive analysis financial research report, you can use all the tools provided to retrieve information available for the company.
2828
29-
**Pay attention to the followings:**
29+
**Pay attention to the following:**
3030
1. Explicitly explain your working plan before you kick off.
3131
2. Read the question carefully. Firstly You need get accurate `start_date` and `end_date` value, because most tools need the 2 values like company news, financials. You can get `end_date` with `get_current_date` tool if user doesn't provide. And you can infer `start_date` with `end_date` using the rule `start_date is one year earlier than end_date` if user doesn't provide.
3232
3. Use tools one by one for clarity, especially when asking for instructions.
33-
4. Provide stock performace, because the financial report is used for stock investment analysis.
33+
4. Provide stock performance, because the financial report is used for stock investment analysis.
3434
5. Read the execution history if any to understand the tools that have been called and the information that has been gathered.
3535
6. Reason about the information gathered so far and decide if you can answer the question or if you need to call more tools.
3636

FinanceAgent/tests/test.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ def test_supervisor_agent_single_turn(args):
8282
parser.add_argument("--prompt", type=str, help="prompt message")
8383
parser.add_argument("--agent_role", type=str, default="supervisor", help="supervisor or worker")
8484
parser.add_argument("--multi-turn", action="store_true", help="multi-turn conversation")
85-
parser.add_argument('--tool_choice', nargs='+', help='limit tools')
85+
parser.add_argument("--tool_choice", nargs="+", help="limit tools")
8686
args, _ = parser.parse_known_args()
8787

8888
print(args)

0 commit comments

Comments
 (0)