feat: fix fallback connection port name and index
This commit is contained in:
parent
1023c5c02e
commit
fb4611a4e0
1 changed files with 3 additions and 3 deletions
|
|
@ -465,14 +465,14 @@ async function main() {
|
||||||
|
|
||||||
wNodes.push(fallbackModelNode);
|
wNodes.push(fallbackModelNode);
|
||||||
|
|
||||||
// Connect fallback model directly: source port is ai_languageModel, target port is ai_fallbackModel!
|
// Connect fallback model directly: source port is ai_languageModel, target port is ai_languageModel (index 1)!
|
||||||
wConnections["Fallback Chat Model"] = {
|
wConnections["Fallback Chat Model"] = {
|
||||||
ai_languageModel: [
|
ai_languageModel: [
|
||||||
[
|
[
|
||||||
{
|
{
|
||||||
node: "LLM Chain Evaluation (Primary)",
|
node: "LLM Chain Evaluation (Primary)",
|
||||||
type: "ai_fallbackModel",
|
type: "ai_languageModel",
|
||||||
index: 0,
|
index: 1,
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
],
|
],
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue