Versions in this module Expand all Collapse all v6 v6.9.3 Mar 25, 2026 Changes in this version + func ApplyCustomHeadersFromAttrs(r *http.Request, attrs map[string]string) + func CanonicalToolName(name string) string + func CleanJSONSchemaForAntigravity(jsonStr string) string + func CleanJSONSchemaForGemini(jsonStr string) string + func CountAuthFiles[T any](ctx context.Context, store interface{ ... }) int + func CreateWhiteImageBase64(aspectRatio string) (string, error) + func FixJSON(input string) string + func GetIPAddress() string + func GetOpenAICompatibilityConfig(alias string, cfg *config.Config) (*config.OpenAICompatibility, *config.OpenAICompatibilityModel) + func GetProviderName(modelName string) []string + func HideAPIKey(apiKey string) string + func InArray(hystack []string, needle string) bool + func IsClaudeThinkingModel(model string) bool + func IsOpenAICompatibilityAlias(modelName string, cfg *config.Config) bool + func MapToolName(toolNameMap map[string]string, name string) string + func MaskAuthorizationHeader(value string) string + func MaskSensitiveHeaderValue(key, value string) string + func MaskSensitiveQuery(raw string) string + func PrintSSHTunnelInstructions(port int) + func RenameKey(jsonStr, oldKeyPath, newKeyPath string) (string, error) + func ResolveAuthDir(authDir string) (string, error) + func ResolveAutoModel(modelName string) string + func RestoreSanitizedToolName(toolNameMap map[string]string, sanitizedName string) string + func SanitizeClaudeToolID(id string) string + func SanitizeFunctionName(name string) string + func SanitizedToolNameMap(rawJSON []byte) map[string]string + func SetLogLevel(cfg *config.Config) + func SetProxy(cfg *config.SDKConfig, httpClient *http.Client) *http.Client + func ToolNameMapFromClaudeRequest(rawJSON []byte) map[string]string + func Walk(value gjson.Result, path, field string, paths *[]string) + func WritablePath() string v6.9.2-rc1 Mar 25, 2026