[BUG] Agentflow v2 Agentnode conversation summary buffer with numTokens Error in Agent node: llmNodeInstance.getNumTokens is not a function
Describe the bug when selecting to conversation summary buffer, the error appears when excecuting the agentflow v2
Screenshots
Setup
- docker
- Flowise Version 3.0.0
- edge
- LLM is AzureChatOpenAI GPT4.1
Using Azure GPT 4o-mini, looks fine:
can you try different models?
@HenryHengZJ When the Agent has tools then Conversation Summary Buffer is throwing this error
I have the same issue - agent using local Ollama model and a Postgres KB. If I use the Conversation Memory Buffer option then I get Error in Agent node: llmNodeInstance.getNumTokens is not a function returned from the agent node. If I remove the Knowledge (Document Stores) tool then it works.
- Windows 10.0.19045 Build 19045
- Ollama 0.10.1 (Ollama_App.exe)
- Flowise 3.0.4 (npm install)
- AgentFlows V2
- Docker Postgres ankane/pgvector
I'm also seeing this exact issue. OpenAI Agent node with a CustomMCP tool attached.
- Flowise Version: 3.0.5
I'm also experiencing the same issue with Agent Node with a custom HTTP tool attached