程序包 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.