I believe that the system prompt example was malformed and confuses the model
before change
'description' : 'get_stock_fundamentals(symbol: str) -> dict - Get fundamental data for a given stock symbol using yfinance API.\n\n Args:\n symbol (str): The stock symbol.\n\n Returns:\n dict: A dictionary containing fundamental data.'
after change change
'description' : 'Get fundamental data for a given stock symbol using yfinance API.'
I believe that the system prompt example was malformed and confuses the model
before change 'description' : 'get_stock_fundamentals(symbol: str) -> dict - Get fundamental data for a given stock symbol using yfinance API.\n\n Args:\n symbol (str): The stock symbol.\n\n Returns:\n dict: A dictionary containing fundamental data.'
after change change 'description' : 'Get fundamental data for a given stock symbol using yfinance API.'