agentscope-runtime-java
agentscope-runtime-java copied to clipboard
Fix: correct ManagerConfig.Builder method name from clientConfig to clientStarter
Summary
- Fixed compilation error in
BrowserAgentApplication.javawhere the wrong method name was called onManagerConfig.Builder - Changed
.clientConfig()to.clientStarter()to match the actual method name defined inManagerConfig.Builderclass
Changes
examples/browser_use_fullstack_runtime/backend/src/main/java/io/agentscope/browser/BrowserAgentApplication.java- Renamed variable
clientConfig→clientStarterfor consistency - Fixed method call
.clientConfig(clientConfig)→.clientStarter(clientStarter)
- Renamed variable
Root Cause
The ManagerConfig.Builder class defines the method as clientStarter(BaseClientStarter), but the code was calling a non-existent clientConfig() method.
Test
- ✅
mvn compile- BUILD SUCCESS - ✅
mvn spotless:apply- Code formatted