- This event has passed.
8 PM – Ai Agents – Gamas
October 16 @ 8:00 pm - 9:00 pm
Today We Did
- We fixed the problem inside ai_agent_sdk.py file inside file_search function
- if not directory.startswith(“/”, “~”): is supposed to be if not directory.startswith((“/”, “~”)):
- The function is missing return value.
- The function is not listed in the agent declaration.
Homework
- Create a new agent tool function inside ai_agent_sdk.py.
- The behavior can be anything you like. Something funny. Similar to prank calculator.
- Make sure this new agent tool follows the following requirements
- It has @function_tool
- All its function parameters have datatype
- It has return value data type
- It has Docstring
- What does the function do
- When should AI call this function.
- Include this new agent tool inside the agent declaration