mirror of
https://github.com/slhaf/Partner.git
synced 2026-05-12 08:43:02 +08:00
feat(agent): support add custom configurable object in Agent launch flow
This commit is contained in:
@@ -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();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user