MCPcopy Create free account
hub / github.com/FlowiseAI/Flowise / renderTextDescription

Function renderTextDescription

packages/components/src/agents.ts:766–768  ·  view source on GitHub ↗
(tools: StructuredToolInterface[])

Source from the content-addressed store, hash-verified

764 })
765
766const renderTextDescription = (tools: StructuredToolInterface[]): string => {
767 return tools.map((tool) => `${tool.name}: ${tool.description}`).join('\n')
768}
769
770export const createReactAgent = async ({ llm, tools, prompt }: CreateReactAgentParams) => {
771 const missingVariables = ['tools', 'tool_names', 'agent_scratchpad'].filter((v) => !prompt.inputVariables.includes(v))

Callers 1

createReactAgentFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected