agentscope-runtime-java icon indicating copy to clipboard operation
agentscope-runtime-java copied to clipboard

Fix: correct ManagerConfig.Builder method name from clientConfig to clientStarter

Open wuzkcool opened this issue 8 months ago • 1 comments

Summary

  • Fixed compilation error in BrowserAgentApplication.java where the wrong method name was called on ManagerConfig.Builder
  • Changed .clientConfig() to .clientStarter() to match the actual method name defined in ManagerConfig.Builder class

Changes

  • examples/browser_use_fullstack_runtime/backend/src/main/java/io/agentscope/browser/BrowserAgentApplication.java
    • Renamed variable clientConfig → clientStarter for consistency
    • Fixed method call .clientConfig(clientConfig) → .clientStarter(clientStarter)

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

wuzkcool avatar Mar 12 '26 16:03 wuzkcool

CLA assistant check
All committers have signed the CLA.

cla-assistant[bot] avatar Mar 12 '26 16:03 cla-assistant[bot]