feat: Delete Answer and Relevant from RestrictedUpstreamMap of Switch #1739 (#2039)

### What problem does this PR solve?

feat: Delete Answer and Relevant from RestrictedUpstreamMap of Switch
#1739

### Type of change


- [x] New Feature (non-breaking change which adds functionality)
This commit is contained in:
balibabu
2024-08-21 19:27:41 +08:00
committed by GitHub
parent c5c3240c4c
commit 11dd23d8aa
5 changed files with 20 additions and 19 deletions

View File

@ -471,7 +471,7 @@ export const RestrictedUpstreamMap = {
[Operator.BaiduFanyi]: [Operator.Begin, Operator.Retrieval],
[Operator.QWeather]: [Operator.Begin, Operator.Retrieval],
[Operator.ExeSQL]: [Operator.Begin],
[Operator.Switch]: [Operator.Begin, Operator.Answer, Operator.Relevant],
[Operator.Switch]: [Operator.Begin],
};
export const NodeMap = {