APRG commited on
Commit
3450c27
·
verified ·
1 Parent(s): 7da057f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -44,7 +44,7 @@ llm = ChatGoogleGenerativeAI(model="gemini-1.5-flash-latest")
44
  def wikipedia_search(title: str) -> str:
45
  """Provides a short snippet from a Wikipedia article with the given itle"""
46
  page = wikipedia.page(title)
47
- return page.content[:100]
48
 
49
  def agent_node(state: OrderState) -> OrderState:
50
  """agent with tool handling."""
 
44
  def wikipedia_search(title: str) -> str:
45
  """Provides a short snippet from a Wikipedia article with the given itle"""
46
  page = wikipedia.page(title)
47
+ return page.content[:100]
48
 
49
  def agent_node(state: OrderState) -> OrderState:
50
  """agent with tool handling."""