sigoden / llm-functions

Easily create LLM tools and agents using Bash/JavaScript/Python, also a library of commonly used LLM tools and agents.
MIT License
166 stars 22 forks source link

feat: controls displaying the results from function call #111

Closed sigoden closed 1 day ago

sigoden commented 1 day ago

We use environment variables to control this.

LLM_TOOL_DUMP_RESULT=1: Dump results from all tools. LLM_TOOL_DUMP_RESULT_<TOOL_NAME>=1: Dump result from the TOOL_NAME tool. LLM_AGENT_DUMP_RESULT=1: Dump results from all tools of all agents. LLM_AGENT_DUMP_RESULT_<AGENT_NAME>=1: Dump results from all tools of the AGENT_NAME agent. LLM_AGENT_DUMP_RESULT_<AGENT_NAME>_<FN_NAME>=1: Dump results from the FN_NAME tool of the AGENT_NAME agent.

image

close #110