Documentation
¶
Overview ¶
Package zai implements the z.ai usage provider.
Auth: Property Inspector settings field or Z_AI_API_KEY / ZAI_API_TOKEN / ZAI_API_KEY environment variable. Endpoint: {host}/api/monitor/usage/quota/limit where host is selected by the region picker (Global / BigModel CN) unless overridden via settings or Z_AI_API_HOST / Z_AI_QUOTA_URL.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Provider ¶
type Provider struct{}
Provider fetches z.ai usage data.
func (Provider) BrandBg ¶ added in v0.3.0
BrandBg returns the background color used on button faces.
func (Provider) BrandColor ¶
BrandColor returns the accent color used on button faces.
Click to show internal directories.
Click to hide internal directories.