tmc / langchaingo

LangChain for Go, the easiest way to write LLM-based programs in Go
https://tmc.github.io/langchaingo/
MIT License
3.76k stars 523 forks source link

agents: `GetTools` added to `Agent` interface #831

Closed AugustDev closed 1 month ago

AugustDev commented 1 month ago

PR Checklist

It is quite useful to be able to obtain Agent tools. Specifying tools for both Executor and Agent opens opportunity for mistakes and is unnecessary.