程序包 io.agentscope.core.credential
package io.agentscope.core.credential
Provider credentials for model authentication.
CredentialBase carries the id field and exposes
getChatModelClass() (the consuming ChatModelBase
subclass) plus listModels() (model catalog discovery). Concrete subclasses cover
DeepSeek, Kimi, and xAI. Credentials whose Java
model class is not yet implemented throw UnsupportedOperationException from
getChatModelClass() while still round-tripping through JSON for storage compatibility.
-
类说明Credential metadata for a model provider.Credential for the DeepSeek API.Credential for the Kimi (Moonshot AI) API.Description of one candidate chat model under a provider.Credential for the xAI API.