Commit Graph
7 Commits
Author SHA1 Message Date
Yijia-Xiao bf7f4b55a3 fix(tools): accept only the statement frequencies the vendors serve (#1593)
- freq is annual or quarterly in the tool schema; any other word is sent back to the model instead of being served annual figures under that word
2026-10-27 08:01:21 +00:00
Yijia-Xiao ee06dcb961 fix(tools): send a date window that ends before it starts back to the model (#1595)
- as_of_window refuses a start after the end, as it does an unreadable start, instead of passing it to the vendor
2026-10-27 07:59:39 +00:00
Yijia-Xiao a5b0f217e3 fix(tools): hand vendors the model's dates as YYYY-MM-DD (#1488)
- as_of and as_of_window return canonical dates, so an unpadded date such as 2024-7-5 no longer compares as later than a filing dated 2024-07-24
- create_run_state validates the run date, as propagate does
2026-10-27 07:57:32 +00:00
Yijia-Xiao f72382414c fix(tools): send a start date that is not a date back to the model (#1476)
- get_news and get_stock_data answer an unreadable start_date with the form to use, instead of passing it to a vendor
2026-10-03 21:27:43 +00:00
Yijia-Xiao 052a98d6eb fix(agents): serve the run's instrument, whatever symbol the model passes
- the nine ticker-taking tools read company_of_interest from graph state, like trade_date; the model no longer supplies a symbol (it had passed indicator names such as RSI, a real ticker)
- the News Analyst prompt and the tool descriptions no longer ask for a ticker
2026-09-29 05:57:17 +00:00
Yijia-Xiao 852ffead43 refactor(agents): organise the agents package by what each module holds
- tools.py: the analysts' data tools, previously seven modules under utils
- context.py (was agent_utils, without its tool re-exports), state.py, rating.py and structured.py sit beside schemas.py
- every role package has an __init__
2026-09-24 04:37:40 +00:00
Yijia-Xiao d04693a208 fix(agents): bound tool dates by the run's trade date
- dated tools read trade_date from graph state and clamp later or missing dates #1331
- propagate() rejects non-canonical and future trade dates #1319
2026-09-14 23:24:31 +00:00