Code Mode for Tool Calling in Go

Tool calling is a workflow for giving an LLM access to external information and capabilities. However, it can be inefficient when you have a large number of tools or complex workflows that require multiple dependent tool calls. This blog post explores code mode, a way to use tools that can save context tokens and reduce the number of request/response cycles by incorporating a tool search and…