Add placeholder function for image file retrieval in agent.py
Browse files- __pycache__/agent.cpython-39.pyc +0 -0
- agent.py +4 -0
__pycache__/agent.cpython-39.pyc
CHANGED
|
Binary files a/__pycache__/agent.cpython-39.pyc and b/__pycache__/agent.cpython-39.pyc differ
|
|
|
agent.py
CHANGED
|
@@ -49,6 +49,10 @@ def web_search(keywords: str, max_results:int = 5) -> str:
|
|
| 49 |
output += f"Results: {result['title']}\n{result['body']}\n{result['href']}\n\n"
|
| 50 |
return(output)
|
| 51 |
|
|
|
|
|
|
|
|
|
|
|
|
|
| 52 |
|
| 53 |
class AgentState(TypedDict):
|
| 54 |
messages: List[Union[HumanMessage, AIMessage]]
|
|
|
|
| 49 |
output += f"Results: {result['title']}\n{result['body']}\n{result['href']}\n\n"
|
| 50 |
return(output)
|
| 51 |
|
| 52 |
+
@tool
|
| 53 |
+
def get_image_file(task_id):
|
| 54 |
+
pass
|
| 55 |
+
|
| 56 |
|
| 57 |
class AgentState(TypedDict):
|
| 58 |
messages: List[Union[HumanMessage, AIMessage]]
|