程序包 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
Anthropic, OpenAI, DashScope, Gemini, Ollama, 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 for the Anthropic API.Credential metadata for a model provider.Credential for the DashScope (Alibaba Cloud) OpenAI-compatible API.Credential for the DeepSeek API.Credential for the Google Gemini API.Credential for the Kimi (Moonshot AI) API.Description of one candidate chat model under a provider.Credential for the Ollama local server (connection settings only).Credential for the OpenAI API.Credential for the xAI API.