Documentation
¶
Index ¶
- Constants
- Variables
- func ConfigDir() (string, error)
- func DefaultArgs(args []string) []string
- func EnvOverrides(storageRoot string) map[string]string
- func HomeDir(storageRoot string) string
- func SyncConfig(storageRoot, serverURL, apiKey, selectedModelID string, models []api.ModelInfo) (string, error)
- func TempDir(storageRoot string) string
Constants ¶
View Source
const ( ProviderID = "csghub-lite" DefaultLanguage = "Chinese" )
Variables ¶
View Source
var UnsetEnvKeys = []string{
"OCR_LLM_URL",
"OCR_LLM_TOKEN",
"OCR_LLM_MODEL",
"OCR_LLM_AUTH_HEADER",
"OCR_LLM_EXTRA_HEADERS",
"OCR_USE_ANTHROPIC",
"ANTHROPIC_BASE_URL",
"ANTHROPIC_AUTH_TOKEN",
"ANTHROPIC_MODEL",
"ANTHROPIC_API_KEY",
}
Functions ¶
func DefaultArgs ¶
func EnvOverrides ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.