feat(agent): support add custom configurable object in Agent launch flow

This commit is contained in:
2026-04-11 21:07:50 +08:00
parent fac6e24e49
commit 94d91d9746
2 changed files with 13 additions and 5 deletions

View File

@@ -1,5 +1,6 @@
package work.slhaf.partner;
import work.slhaf.partner.common.vector.VectorClientRegistry;
import work.slhaf.partner.framework.agent.Agent;
import work.slhaf.partner.runtime.gateway.WebSocketGatewayRegistration;
@@ -7,6 +8,7 @@ public class Main {
public static void main(String[] args) {
Agent.newAgent(Main.class)
.addGatewayRegistration(WebSocketGatewayRegistration.INSTANCE)
.addConfigurable(new VectorClientRegistry())
.launch();
}
}