Hi @miguel-mconf,
The problem you’re seeing is due to the LLM input configuration. If Max Connections
is set to -1, the const llm = await this.getInputConnectionData('ai_languageModel', 0);
would return an array inputs. So you would need to return it as llm[0]
. But if you know you’re only going to use a single LLM for the passthrough, I would suggest to set it to 1
which would make your code work as expected.
1 Like