You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm currently using the AI Agent (Tools Agent) node in a workflow where the agent is utilizing the Supabase Vector Store Tool to retrieve information from a venue. The Vector Store Tool is attached to the OpenAI model (I have tried both GPT-4 and GPT-4 mini), and this is connected to the Supabase Vector Store. The embedding model in use is OpenAI small, and while it works intermittently, I frequently encounter an error with the message:
"Cannot read properties of undefined (reading 'replace')"
When I switch the model to an alternative one (Anthropic, Google Gemini, or even another OpenAI model), it starts working again, but after some further tests, the same error reappears. This inconsistency is affecting my workflow reliability.
It's unclear what is causing this behavior, but it appears to be related to the OpenAI model interaction, as switching models temporarily resolves the issue.
To Reproduce
1 - Add a Supabase Vector Store Tool node to the workflow, connected to the OpenAI model (e.g., GPT-4 or GPT-4 mini).
2 - Set up the Vector Store Tool to retrieve embeddings from Supabase, using the OpenAI small embedding model.
3 - Query the AI Agent node to retrieve information.
4 - Observe that the workflow sometimes returns the error: Cannot read properties of undefined (reading 'replace').
5 - Switch to an alternative model (Anthropic, Google Gemini, or another OpenAI model).
6 - Run the query again. The issue temporarily resolves but reoccurs after some time.
Expected behavior
The AI Agent should consistently query the vector store tool without any issues, while this happens intermittently, I can't see the reason why.
Operating System
Docker
n8n Version
1.56.1
Node.js Version
Don't know
Database
PostgreSQL
Execution mode
main (default)
The text was updated successfully, but these errors were encountered:
Bug Description
I'm currently using the AI Agent (Tools Agent) node in a workflow where the agent is utilizing the Supabase Vector Store Tool to retrieve information from a venue. The Vector Store Tool is attached to the OpenAI model (I have tried both GPT-4 and GPT-4 mini), and this is connected to the Supabase Vector Store. The embedding model in use is OpenAI small, and while it works intermittently, I frequently encounter an error with the message:
"Cannot read properties of undefined (reading 'replace')"
When I switch the model to an alternative one (Anthropic, Google Gemini, or even another OpenAI model), it starts working again, but after some further tests, the same error reappears. This inconsistency is affecting my workflow reliability.
It's unclear what is causing this behavior, but it appears to be related to the OpenAI model interaction, as switching models temporarily resolves the issue.
To Reproduce
1 - Add a Supabase Vector Store Tool node to the workflow, connected to the OpenAI model (e.g., GPT-4 or GPT-4 mini).
2 - Set up the Vector Store Tool to retrieve embeddings from Supabase, using the OpenAI small embedding model.
3 - Query the AI Agent node to retrieve information.
4 - Observe that the workflow sometimes returns the error: Cannot read properties of undefined (reading 'replace').
5 - Switch to an alternative model (Anthropic, Google Gemini, or another OpenAI model).
6 - Run the query again. The issue temporarily resolves but reoccurs after some time.
Expected behavior
The AI Agent should consistently query the vector store tool without any issues, while this happens intermittently, I can't see the reason why.
Operating System
Docker
n8n Version
1.56.1
Node.js Version
Don't know
Database
PostgreSQL
Execution mode
main (default)
The text was updated successfully, but these errors were encountered: