philincloud commited on
Commit
1b751bf
·
verified ·
1 Parent(s): 737b836

Update langgraph_agent.py

Browse files
Files changed (1) hide show
  1. langgraph_agent.py +1 -1
langgraph_agent.py CHANGED
@@ -83,7 +83,7 @@ if HF_API_TOKEN:
83
  else:
84
  print("WARNING: HF_API_TOKEN not set. If any other HF tools are used, they might not function.")
85
 
86
- @tooldef
87
  def read_file_content(file_path: str) -> Dict[str, str]:
88
  """Reads the content of a file and returns its primary information. For text/code/excel, returns content. For media, indicates it's a blob for LLM processing."""
89
  try:
 
83
  else:
84
  print("WARNING: HF_API_TOKEN not set. If any other HF tools are used, they might not function.")
85
 
86
+ @tool
87
  def read_file_content(file_path: str) -> Dict[str, str]:
88
  """Reads the content of a file and returns its primary information. For text/code/excel, returns content. For media, indicates it's a blob for LLM processing."""
89
  try: