You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
from phi.agent import Agent
from phi.model.google import Gemini
from phi.tools.yfinance import YFinanceTools
agent = Agent(
model=Gemini(id="gemini-1.5-flash", api_key=GOOGLE_API_KEY),
tools=[YFinanceTools(stock_price=True)],
show_tool_calls=True,
markdown=True,
)
agent.print_response("What is the stock price of NVDA and TSLA", stream=True)
I just write your example for price search with gemini-1.5-flash. The response is
"The available tools lack the implementation to fetch stock prices. Therefore, I cannot answer your question."
after I switched to use stock_fundamentals=True with same question asking, the get_current_stock_price is run properly. Is there any problem when implementing with gemini? They program can still be usd by leaving stock_price to be default.
phidata version 2.7.8
python version 3.11
platform colab
The text was updated successfully, but these errors were encountered:
I just write your example for price search with gemini-1.5-flash. The response is
after I switched to use stock_fundamentals=True with same question asking, the get_current_stock_price is run properly. Is there any problem when implementing with gemini? They program can still be usd by leaving stock_price to be default.
phidata version 2.7.8
python version 3.11
platform colab
The text was updated successfully, but these errors were encountered: