feat: force all tools to be registered to Redis regardless of register=false
Some checks failed
Deploy to OCIWP / deploy (push) Has been cancelled
Some checks failed
Deploy to OCIWP / deploy (push) Has been cancelled
This commit is contained in:
@@ -92,9 +92,10 @@ public class ToolRegistryHeartbeatSender {
|
|||||||
? mcpProperties.getNamespace() + "_" + rawSubToolName
|
? mcpProperties.getNamespace() + "_" + rawSubToolName
|
||||||
: rawSubToolName;
|
: rawSubToolName;
|
||||||
|
|
||||||
boolean isRegister = hintAnnotation != null && hintAnnotation.register();
|
// 요청에 따라 @ToolHint 의 register 값과 상관없이 무조건 등록(true) 처리합니다.
|
||||||
if (!isRegister) {
|
boolean isRegister = true;
|
||||||
log.info(" [HeartbeatSender] '{}' 툴은 어노테이션 설정에 의해 외부 등록(Redis) 대상에서 제외되었습니다. (최종 이름: {})", baseName, subToolName);
|
if (hintAnnotation != null && !hintAnnotation.register()) {
|
||||||
|
log.info(" [HeartbeatSender] '{}' 툴은 원래 register=false 이지만 강제로 외부 등록(Redis) 대상에 포함합니다. (최종 이름: {})", baseName, subToolName);
|
||||||
}
|
}
|
||||||
|
|
||||||
ToolMetadata meta = new ToolMetadata();
|
ToolMetadata meta = new ToolMetadata();
|
||||||
|
|||||||
Reference in New Issue
Block a user