sarath2803 commited on
Commit
7fc1950
·
verified ·
1 Parent(s): 2af94f2

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -101,7 +101,7 @@ def web_search(query: str) -> str:
101
  return f"Search results for '{query}' : {result}."
102
 
103
  @tool
104
- def wikipedia_tool(query: str, llm: Optional[Callable[[str], str]] =openrouter_inference) -> str:
105
  """
106
  Searches Wikipedia for the given query and uses the LLM to extract a direct answer.
107
  Args:
 
101
  return f"Search results for '{query}' : {result}."
102
 
103
  @tool
104
+ def wikipedia_tool(query: str, llm: Optional[callable[[str], str]] =openrouter_inference) -> str:
105
  """
106
  Searches Wikipedia for the given query and uses the LLM to extract a direct answer.
107
  Args: