AS AgentScopeAPI 手册 / API Reference

BaseClientConfig

public class BaseClientConfig
源码Source io/agentscope/runtime/sandbox/manager/client/config/BaseClientConfig.java:21–39

基类客户端配置,保存相关配置项。位于 io.agentscope.runtime.sandbox.manager.client.config 包。核心成员包括 getClientType、setClientType、BaseClientConfig。

A class in io.agentscope.runtime.sandbox.manager.client.config that deploys, schedules and serves agents. Declared in io.agentscope.runtime.sandbox.manager.client.config.

构造器摘要Constructor Summary

构造器Constructor说明Description
public BaseClientConfig()
初始化 `BaseClientConfig` 实例。
Creates a new instance.
public BaseClientConfig(ContainerManagerType clientType)
初始化 `BaseClientConfig` 实例。
Creates a new instance.

方法摘要Method Summary

方法Method说明Description
public ContainerManagerType getClientType()
获取客户端类型。
Returns the client type.
public void setClientType(ContainerManagerType clientType)
设置客户端类型。
Sets the client type.

构造器详情Constructor Detail

BaseClientConfig

public BaseClientConfig()

初始化 BaseClientConfig 实例。

Creates a new instance.

源码Source io/agentscope/runtime/sandbox/manager/client/config/BaseClientConfig.java:24–26

BaseClientConfig

public BaseClientConfig(ContainerManagerType clientType)

初始化 BaseClientConfig 实例。

Creates a new instance.

参数Parameters
名称Name类型Type说明Description
clientTypeContainerManagerType客户端类型(类型 `ContainerManagerType`)。The client type.
源码Source io/agentscope/runtime/sandbox/manager/client/config/BaseClientConfig.java:28–30

方法详情Method Detail

getClientType

public ContainerManagerType getClientType()

获取客户端类型。

Returns the client type.

返回Returns ContainerManagerType
返回ContainerManagerType。Returns container manager type.
源码Source io/agentscope/runtime/sandbox/manager/client/config/BaseClientConfig.java:32–34

setClientType

public void setClientType(ContainerManagerType clientType)

设置客户端类型。

Sets the client type.

参数Parameters
名称Name类型Type说明Description
clientTypeContainerManagerType客户端类型(类型 `ContainerManagerType`)。The client type.
源码Source io/agentscope/runtime/sandbox/manager/client/config/BaseClientConfig.java:36–38
基于官方固定版本源码静态生成Generated from pinned official sources · Python 2.0.11 · Java 2.0.4
签名与文档为静态抽取;如有疑问请以源码为准。Signatures and docs are extracted statically; verify against the source when in doubt.