Registering a custom tool with `load_tools``

The issue seems to be that load_tools doesn’t really support loading custom tools, but instead complains about TypeError: unhashable type.

A workaround is to simply initialize an empty tools list with load_tools, and then extend it with your custom ones.

tools = load_tools([], llm=llm) + 
    [OhMyCustomTool(target_directory=target_directory, files=files)]

– via this GitHub Issue