Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BalanceInfo ¶
type DeepseekProvider ¶
type DeepseekProvider struct {
openai.OpenAIProvider
}
func (*DeepseekProvider) Balance ¶
func (p *DeepseekProvider) Balance() (float64, error)
type DeepseekProviderFactory ¶
type DeepseekProviderFactory struct{}
func (DeepseekProviderFactory) Create ¶
func (f DeepseekProviderFactory) Create(channel *model.Channel) base.ProviderInterface
创建 DeepseekProvider
type Response ¶
type Response struct {
IsAvailable bool `json:"is_available"`
BalanceInfo []*BalanceInfo `json:"balance_infos"`
}
Click to show internal directories.
Click to hide internal directories.