fix(gateway): accept registered tools from fallback to recover after gateway restart
All checks were successful
Deploy to OCIWP / deploy (push) Successful in 3m22s
All checks were successful
Deploy to OCIWP / deploy (push) Successful in 3m22s
This commit is contained in:
@@ -151,7 +151,7 @@ public class McpRouterController {
|
||||
|
||||
if (localTools != null) {
|
||||
for (ToolMetadata t : localTools) {
|
||||
if (!Boolean.TRUE.equals(t.getIsRegistered()) && Boolean.TRUE.equals(t.getVisible()) && !knownTools.contains(t.getUid())) {
|
||||
if (Boolean.TRUE.equals(t.getVisible()) && !knownTools.contains(t.getUid())) {
|
||||
activeTools.add(t);
|
||||
knownTools.add(t.getUid());
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user